• Resolved AndyKUrbex

    (@andykurbex)


    Is there any way I can increase the size at which Autoptimize starts warning that my cache is geting big?

    I have a large website (around 20gb), so the cache gets full pretty quick. I emptied it this morning and it’s already warning me that it’s full again.

    • This topic was modified 9 years, 7 months ago by AndyKUrbex.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    sure, hooking into AO’s api;

    add_filter('autoptimize_filter_cachecheck_maxsize','sizers');
    function sizers() {
      return 1024*1024*1024;
    }

    you can add this in your child theme’s functions.php or in a separate plugin or using the code snippets plugin.

    hope this helps,
    frank

    Thread Starter AndyKUrbex

    (@andykurbex)

    Perfect, thank you.

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

The topic ‘Increase size before “Cache is getting big” warning’ is closed to new replies.