• Resolved seopumpkin

    (@seopumpkin)


    Hi Hristo,

    Thank for the great plugin, it worked perfect on my site and it is really fast, however, i came to problem with Dynamic Cache:

    I have been using GeoIP Detection Plugins recently on every pages of my site to check whether users from US or UK.

    However, the first user who open my site ( assuming from US ) will be cached by Dynamic Cache, and so does the IP, other users from UK will be treated as US.

    I have tried many way to solve this problem, but none are success. ( Clearing Dynamic Cache always does the tricks ). I also tried not to cache the IP checking request by using this call from GeoIP Dectection Documents:

    $record = geoip_detect2_get_info_from_current_ip(NULL, true);

    Their API can also tell W3Total Cache ( and some other cacheing plugin ) to not cache the page calling API but however, not the SG CachePress. Do you have any way to work around this issues? I really don’t want to disable the Dynamic Cache.

    Thank a lots for reading this.

    Ken

    https://wordpress.org/plugins/sg-cachepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter seopumpkin

    (@seopumpkin)

    Updated:

    WP Engine and this plugin seem to work for me, but I will have to walk away from Siteground. And it is highly cost.

    Ken

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    I will do some tests and update the threat asap

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    I am afraid that there isn’t an easy solution for that. We use NGINX to do a full page caching. This means that once the content is cached it will be delivered until cache is revalidated. This said, if the plugin clears cache every time someone from a different country accesses the site that would practically disable the cache or even make it worse. To avoid this, you can try excluding URLs from being cached in the SG CachePress interface. However, using the GopIP detection plugin on every page will not work with our system at this point.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Cache: Looking for a way for better use.’ is closed to new replies.