• Resolved jonsunlu

    (@jonsunlu)


    Hi there,

    I’m cross-posting from where I created this on WP Engine’s Geotargeting plugin, but basically i’ve been using AO for the past 2 years on my site and page cache has never been an issue.

    Yesterday I enabled Geo-Targeting from WP Engine (https://wpengine.com/support/enabling-geotarget/) which is “WP Engine’s proprietary, multi-tiered caching system (Evercache)” that allows me to identify and filter content based on where people are visiting from. Since enabling it, my page cache blooms to over 22 Gigs in < 12 hours which is pretty insane since i’m reading about other folks that worry about page caches of 1 gig…

    I unticked all aggregating inline JS, CSS and excluded wp-content/cache and wp/content uploads. I’ve even read this https://blog.futtta.be/2016/09/15/autoptimize-cache-size-the-canary-in-the-coal-mine/ to know why clearing cache repeatedly is bad.

    I guess my ultimate question to folks is has this happened to any other users? If so, were there any workarounds if we wanted to maintain both AO and Geo-targeting?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    interesting @jonsunlu .. I reviewed the plugin’s code and I don’t see it injecting javascript in the customer-facing HTML, so no simple “exclude this” here.

    Some questions:
    * how many files are in wp-content/cache/autoptimize/js vs wp-content/cache/autoptimize/css
    * is geotargetting active now?
    * how are you using it; on which pages and what is different from one location to another?
    * if you have geo targeting enabled, but you don’t act on it (using it’s shortcodes or similar), does the cache grow that quickly as well?

    frank

    Thread Starter jonsunlu

    (@jonsunlu)

    Hi @optimizingmatters ,

    Thanks for responding! See below for my answers:
    * how many files are in wp-content/cache/autoptimize/js vs wp-content/cache/autoptimize/css – In the JS folder there are 44 files. In the CSS folder there are 758 files
    * is geotargetting active now? – Geotargeting is active now, it’s a server side switch that WP Engine turns on themselves
    * how are you using it; on which pages and what is different from one location to another? I actually haven’t even implemented it yet, but it’s used by placing content between shortcodes. My goal is to hide/show content based on which US State they are in.
    * if you have geo targeting enabled, but you don’t act on it (using it’s shortcodes or similar), does the cache grow that quickly as well? – That’s actually my current situation now, it’s enabled but i’m not actively using it. I believe it’s still caching folks based on location.

    For point of reference, my cache size is now at 615mb in 4 hours.

    Thanks for any insight!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so it’s CSS. Can you try adding cp-form-css to the comma-separated list of CSS optimization exclusions?

    Thread Starter jonsunlu

    (@jonsunlu)

    OKay great, now my CSS exclusions look like this:

    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css,cp-form-css

    I’ve saved and emptied the cache. I’ll keep you updated to see if that works!

    Thanks again

    Thread Starter jonsunlu

    (@jonsunlu)

    @optimizingmatters Just wanted to give you a heads up. It’s now been 10 hours since my last cache deletion and it looks like the cp-form-css addition has really helped.

    My cache size is only 21% full after 10 hours @ 105mb and 175 files. Thanks for that tip! This is much more manageable considering at 10 hours I was at 22 gigs.

    What was the cp-form-css that you suggested we exclude?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    it identifies the inline CSS part of the convertplug plugin, glad to hear that seems to have fixed it! ??

    frank

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page Cache Grows So Fast with WP Engine’s Geotargeting enabled’ is closed to new replies.