Title: Settings for WP Rocket?
Last modified: April 22, 2024

---

# Settings for WP Rocket?

 *  Resolved [ulang66](https://wordpress.org/support/users/ulang66/)
 * (@ulang66)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/)
 * I use WP Rocket. It apparently doesn’t work with it. Countries on the blocking
   list are not blocked. As soon as I deactivate WP Rocket, it works perfect. What
   do I need to set in WP Rocket for it to work? I am testing the function via VPN.
   It’s strange that I can load the website without any problems, but in the log
   area of IP Location Block, the IP i use is shown as blocked.
    -  This topic was modified 2 years, 2 months ago by [ulang66](https://wordpress.org/support/users/ulang66/).
      Reason: addition

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Darko G.](https://wordpress.org/support/users/darkog/)
 * (@darkog)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/#post-17710311)
 * Hey [@ulang66](https://wordpress.org/support/users/ulang66/) – It’s because of
   WP Rocket caching the pages and serving cached pages which defeats the purpose
   of any dynamic plugins like this.
 * Luckily depending on the hosting environment, it may be possible to kick off 
   our IP Location Block plugin just before “WP Rocket”, this way the requests will
   still be checked by IP Location Block. To do that, please set the “Validation
   Timing” setting to “mu-plugins”.
 * Some people had success with this option, but generally IP Location Block shouldn’t
   be used with caching plugins especially ones that does not work with the Validation
   Timing option.
 *  Thread Starter [ulang66](https://wordpress.org/support/users/ulang66/)
 * (@ulang66)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/#post-17711235)
 * Unfortunately, it doesn’t work for me with “mu-plugins”. I also tried the helper
   plugin WP Rocket | Disable Page Caching on the advice of WP Rocket support. It
   would work with that, but then the pages load too slowly, so I can’t use it like
   that. Then I probably have to assume that I have no chance to use your IP Location
   Block with WP Rocket, although it would certainly be a great plugin. You say 
   it may depend on the host environment whether “mu-plugins” works. Do you know
   which specific settings on the host side could be responsible for this?
 *  Plugin Author [Darko G.](https://wordpress.org/support/users/darkog/)
 * (@darkog)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/#post-17711284)
 * Hey [@ulang66](https://wordpress.org/support/users/ulang66/) – You can also read
   the article about caching. I know WP Rocket may not be an option but you can 
   achieve similar results with plugins that support deferred execution and having“
   Validation Timing” set to “mu-plugins.php” in combination with those plugins.
 * [https://iplocationblock.com/codex/compatibility-with-cache-plugins/](https://iplocationblock.com/codex/compatibility-with-cache-plugins/)
 *  Thread Starter [ulang66](https://wordpress.org/support/users/ulang66/)
 * (@ulang66)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/#post-17711324)
 * I have already read this article. I tried several caching plugins before I decided
   on WP Rocket. It simply had the best performance for me and caused no problems.
   Therefore, I can’t just replace it. Thank you for your answers. The hope would
   be that WP Rocket supports deferred execution one day.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Settings for WP Rocket?’ is closed to new replies.

 * ![](https://ps.w.org/ip-location-block/assets/icon-256x256.png?rev=2662027)
 * [IP Location Block](https://wordpress.org/plugins/ip-location-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip-location-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip-location-block/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-location-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-location-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-location-block/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ulang66](https://wordpress.org/support/users/ulang66/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/settings-for-wp-rocket/#post-17711324)
 * Status: resolved