• Resolved Marty

    (@bozzmedia)


    Autoptimize has been working well for us for awhile. Recently we got some warnings about the cache size. Inline JS and CSS aggregation is off. What else can we do to keep the cache size from filling up quickly?

    We have a number of files about 500k each in the JS folder and 800k each in the CS folder being generated within the cache folder.

    Thanks!

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

    (@optimizingmatters)

    is inline CSS and JS is off, then there must be some generated JS or CSS which a plugin or theme writes to a cache-directory in /wp-content/. the filename would typically have a somewhat random part. if you can give me your URL, I’ll be happy to have quick look!

    kind regards,
    frank

    We can report the same exact problem. We have been using this plugin for a year on a few sites. We are updated to the latest version of this and WordPress. Inline CSS and JS are always off. Nothing on the website has changed at all in the last few days. Our cache size basically hardly ever grew much over a month. Then suddenly yesterday all our sites had 100% cache. After we cleared the cache, within an hour the cache size was again at 100%. Unfortunately, we had to turn off the plugin immediately on all sites to prevent a complete site slow down. In my opinion, something is going seriously wrong with this plugin. Maybe some security issue. Please check. We have no URL to share, because we had to turn it off immediately on all our sites, due to the problems mentioned above. As mentioned, since nothing else changed in the last few days on the site, the issue must be with this plugin.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    As mentioned, since nothing else changed in the last few days on the site, the issue must be with this plugin.

    well, as before today there hadn’t been a update for 6 months, by the same logic the issue could not be with AO ??

    We have no URL to share, because we had to turn it off immediately on all our sites, due to the problems mentioned above.

    would be interested nonetheless; I actually need to see your site without AO, can you share @osseonews?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    oh, lightbulb-moment; were you guys on 2.1.1 by any chance??

    Hi Frank
    We have the same problem today it seems. Suddenly cache growing huge.
    We do not aggregate any inline. The issue is JS not CSS, and we have reverted any changes made in the last 24 hours. Cache still grows. Bit of a head scratcher. Have deactivated JS aggregation for troubleshooting . v2.1.1

    • This reply was modified 7 years, 5 months ago by eltoucano.

    Oh! Whats the lightbulb moment? We are on 2.1.1

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I’ll push out 2.1.2 in a second, but you could also upgrade to 2.2 (or 2.2.1 which will be out later today with a couple of small fixes)

    Thanks for your quick response. But, multiple users have already reported this issue, and I’m certain many, many more will wake up to the same problem, and not have a clue what’s going on. Since this plugin is the only one malfunctioning out of nowhere, the evidence suggests that this plugin is the problem.

    As mentioned, the cache files for this plugin started to go completely berserk yesterday out of nowhere. For the reasons already mentioned above, it is seems certain that the issue is related to this plugin. Whether some other plugin is abetting the issue is moot. Something is exploiting this plugin to grow the cache files exponentially.

    Will download the latest from Github and see if that solves the problems.

    Thanks for your hard work. Really appreciate it.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, everyone on 2.1.1 please upgrade to https://downloads.www.ads-software.com/plugin/autoptimize.2.1.2.zip or use 2.2 (which has been released this morning, no need to use the Github version now)

    frank

    Hi Frank
    We have moved to 2.2.0 and the problem has (so far) gone.
    The cached files themselves are much smaller now.
    What was the cause for the sudden growth?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    What was the cause for the sudden growth?

    we added secure hashes to Autoptimize while processing the HTML/ CSS/ JS to avoid the placeholder strings could be tampered with, but the hashes were based on (a.o.) time which resulted in the hashes changing, which busted AO’s caching mechanism.

    sorry for that! :-/

    No sweat – thank YOU for the awesome plugin and quick fix!

    Thread Starter Marty

    (@bozzmedia)

    Brilliant, thank you for the speedy fix and for others chiming in. We were also on 2.1.1 and have now updated. I presume this should do it for us but if not I’ll sound back in on this thread.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if not I’ll sound back in on this thread.

    please do, it’s thanks to you guys reporting back here that we can fix these issues (however painful they may be)!

    Thread Starter Marty

    (@bozzmedia)

    My cache is hanging steady at a cool 6mb total, woohoo!! Thanks again.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Large and Growing Cache, have tried FAQ steps’ is closed to new replies.