Title: working with cache
Last modified: February 22, 2017

---

# working with cache

 *  [Prince_Dhaval](https://wordpress.org/support/users/shethdhaval/)
 * (@shethdhaval)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/)
 * Hello,
    is this work with caching plugin for example we have to show different
   content base on countries but if caching plugin is activated then this functionality
   can not be achieved. Appreciate your response Thank you.

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

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8835164)
 * Did you activate the option of the plugin called “Disable caching a page that
   contains a shortcode or API call to geo-dependent functions.” ? If so, which 
   caching plugin are you using?
 *  Thread Starter [Prince_Dhaval](https://wordpress.org/support/users/shethdhaval/)
 * (@shethdhaval)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8835515)
 * we are using w3 total cache
 *  [Marius](https://wordpress.org/support/users/mmichtus/)
 * (@mmichtus)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8844757)
 * i use also for display content on country based.
    and i found there is big problems
   with: dynamic cache (from siteground) also with wp-rocket.i want to use with 
   wp-rocket but not working right. is is there any difference for cache if i use
   shorcode or css? (i use css). and i’m also on cloudflare (but seems to work fine
   with cloudflare)
 *  [ivanatanasov](https://wordpress.org/support/users/ivanatanasov/)
 * (@ivanatanasov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8865483)
 * [@mmichtus](https://wordpress.org/support/users/mmichtus/) – Ivan Atanasov here,
   part of the Senior Support team at SiteGround.
 * I decided to drop a line and explain that WP Rocket and SG Optimizer are both
   implementing a model of full page caching.
    SG Optimizer is including the cached
   content directly in the server memory – which is expected to be much faster and
   more reliable.
 * If you are planning on using both plugins simultaneously you can consider disabling
   the Full Page Caching in WP Rocket ([guide](http://docs.wp-rocket.me/article/61-disable-page-caching))
 *  [Marius](https://wordpress.org/support/users/mmichtus/)
 * (@mmichtus)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8866152)
 * [@ivanatanasov](https://wordpress.org/support/users/ivanatanasov/) – ok, thanks
   for explanation, but from all my tests with SG Optimizer problems starts from
   dynamic cache, with memcache works great.
    even if i exclude that pages from 
   dynamic cache still make problems, only if i disable complete is working fine.
   i want to use geoip with static, dynamic and memcache (maybe to disable dynamic
   for that pages) but not working well after a while only with dynamic complete
   removed. i said a while because the problems starts after using cache a few days,
   not from day one.
 *  [ivanatanasov](https://wordpress.org/support/users/ivanatanasov/)
 * (@ivanatanasov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8866220)
 * [@mmichtus](https://wordpress.org/support/users/mmichtus/) – Thank you for the
   update, Marius.
 * If you suspect that old cache is the cause of this issue, you can turn the AutoFlush
   Cache option in SG Optimizer. In addition to the modifications mentioned in my
   previous comment.
 * I would also recommend creating a ticket from your SiteGround User Area so that
   we can review and test this issue on our end as well.
 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8869406)
 * [@ivanatanasov](https://wordpress.org/support/users/ivanatanasov/)
    Thanks for
   chiming in, as I never used WP Rocket before. If there is anything I can do to
   facilitate the compability between our plugins by default, let me know. I have
   heard from users of WP Engine that disabling the cache is not possible there.
 * Is the filter you link to page-specific, i.e. as soon as one of my geo-specific
   function is called, the cache is deactivated only for this page?
 *  [ivanatanasov](https://wordpress.org/support/users/ivanatanasov/)
 * (@ivanatanasov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8879319)
 * [@benjamin4](https://wordpress.org/support/users/benjamin4/)
    Please excuse the
   late response, Benjamin.
 * Disabling the WP Rocket full page caching should be possible. I believe that 
   this will be useful in order to achieve it:[http://docs.wp-rocket.me/article/61-disable-page-caching](http://docs.wp-rocket.me/article/61-disable-page-caching)
 * As for the Exclude URLs functionality of SG Optimizer, users will be able to 
   specify the exact URL they need to exclude from the dynamic caching. Additionally,
   there are predefined pages that are excluded from the cache such as Cart, My 
   Account, Checkout and Addon pages.
 * Pages are excluded based on the URL pattern.

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

The topic ‘working with cache’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [ivanatanasov](https://wordpress.org/support/users/ivanatanasov/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/working-with-cache/#post-8879319)
 * Status: not resolved