Title: Caching &amp; Wordfence
Last modified: August 18, 2020

---

# Caching & Wordfence

 *  Resolved [bclaim](https://wordpress.org/support/users/bclaim/)
 * (@bclaim)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/caching-wordfence/)
 * Hello,
 * Please note that there is an issue that when Dynamic Cache is enabled it does
   not comply to Wordfence country blocking rules. At best, it gives intermittent
   results (having blocked the country or not). Disabling the Dynamic Cache solves
   this but then there is no advantage of using the Dynamic Cache, which provides
   great speed improvements.
 * Anything that can be done here so that it does not affect the Wordfence geo blocking
   rules/capabilities?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [5 years, 10 months ago](https://wordpress.org/support/topic/caching-wordfence/#post-13272383)
 * Dynamic page caching is form of full page caching. When the request comes the
   NGINX reverse proxy serves content right from it before hitting the web server
   and going through rules in .htaccess. If you want to have country speciffic rules
   they should be applied via ajax or similar method. That’s just how the system
   works. You can reach out to the WF team for more info whether they have other
   methods of blocking when the IP comes from a speciffic country.

Viewing 1 replies (of 1 total)

The topic ‘Caching & Wordfence’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/caching-wordfence/#post-13272383)
 * Status: resolved