• Resolved Shane

    (@shanemarsh28)


    Hi, apologies if this has been asked before.

    Is there a hook for raising the “Autoptimize cache size warning” email threshold from 500MB to 1024MB or something bigger? We have a couple of very big sites where there is no technical problem but after a couple of weeks, triggers a daily warning.

    Thanks in advance,
    Shane

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

    (@optimizingmatters)

    yes there is Shane, you can use something like
    add_filter( 'autoptimize_filter_cachecheck_maxsize', function(){ return 536870912; } );

    where the number is the amount of bytes.

    hope this helps,
    frank

    Thread Starter Shane

    (@shanemarsh28)

    Thats perfect, thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.