• Resolved kengray20

    (@kengray20)


    Folks:

    I believe that title says it all.

    It took a couple or three days to find the problem and guess what?

    It was the problematic Minification option in wp-optimize. Disabled it and the site was right as rain.

    That said it has cost me big readership and substantial ad revenue. I’ve worked 11 years to make this site work and these folks have screwed up a lot of work.

    I love its sister plugin updraftplus. And I like the optimization part of this plugin. Very effective. But the minification option is a nightmare … and I don’t use nightmare lightly.

    The minification was restarted by downloading an update. I had a previous problem with minification so I disabled it. Didn’t know the update on plugin restarted minification. Bloody shame

    I hope to keep updraft forever. But I think it is time shop for a replacement for wp-optimize. Sorry.

    Any suggestions from readers on a replacement for wp-optimize?

    cheers

    Ken Gray

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • @kengray20 Sorry to hear about your issue.

    Please use following snippet and add it to your active child themes functions.php file, it will automatically delete the minified files after 3 days

    add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
    return time() - 86400 * 3;
    } );
    Thread Starter kengray20

    (@kengray20)

    Folks:

    Correction. The site went down 36 times last week according to freshping.

    Previous I said it was 34 times.

    cheers

    kgray

    Hi @bornforphp,
    If I put your script in my function.php of my child theme, it will delete the files in minify folder every 3 days, right? Will all the minify files be regenerated right after, or recreated after the pages been visited? Or I have to turn on Preload Scheduler for that to happen?

    For my understanding, can you explain the action of minification process, overtime? I try to understand why the minification files get bigger and bigger.

    @kengray20 Have you tried to add the snippet to your child themes functions.php file and see if the files get deleted after 3 days?

    @francoc30 Yes the minified files will get recreated once deleted and user visits the site.

    WP-Optimize by default preloads the minification process every 24 hours, so even if you don’t manually preload the minified files it will get created when user visits the site.

    RE: “WP-Optimize by default preloads the minification process every 24 hours, so even if you don’t manually preload the minified files it will get created when user visits the site.”

    WPO will automatically load all minified files of the site only when user visits the site, even the visitor just browses a couple of pages. Is that correct?
    If no user visitor visits, will WPO still regenerates all minified files in 24 hrs?
    What is the start time of this 24 hr cycle? 12:01 midnight local time or something else?

    @francoc30 Yes it will start 12:01 midnight local time

    Thanks Harshad. What about the other questions?
    Is there documentation describing how all the features works. other than the FAQ?

    @francoc30 Please check this article on how you can improve you site speed which also covers the features in WP-Optimize: https://getwpo.com/how-to-increase-website-speed-with-wp-optimize-plugin/

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Crashed site 34 times over four days’ is closed to new replies.