• Resolved Kyrian

    (@oloccina)


    Hello,
    I disabled “Minify” because it was creating enormous cache files (I implemented the solution to delete cache after three days, but it’s not enough).
    The problem is that with Minify disabled, all the pages in my videos section are now blank

    Videos section: https://aikyam.it/video/
    click any content in this page to see the issue

    Example page with issue:
    https://aikyam.it/vid/i-7-specchi-esseni-delle-relazioni-e-le-ferite-del-bambino-interiore/

    If I re-enable Minify, the issue goes away.
    I tried deleting the site as well as the browser cache but the issue persists, other users have also confirmed it.

    What can I do to solve?
    I want to keep Minify disabled because of the big cache size issue.

    Thank you

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • @oloccina Can you please enable debugging mode, Please add following lines to wp-config.php just before where it says: /* That’s all, stop editing! Happy publishing. */

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    Then try to reload the page.

    A debug.log file should be created inside wp-content folder,which should contain error information in it, Please share the file with us.

    Thread Starter Kyrian

    (@oloccina)

    Hi,
    I did as you asked,
    but no log file is being created

    2022-01-11_10-49-19

    Thread Starter Kyrian

    (@oloccina)

    I just want to safely disable minify without my site being broken.
    Is there some hidden cache folder somewhere I need to empty maybe?

    Thread Starter Kyrian

    (@oloccina)

    I have now re-enabled Minify to allow users to see the pages.
    Will manually purge the files every few hours until you provide a working solution.
    Thanks

    @oloccina

    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 Kyrian

    (@oloccina)

    I have already implemented this solution,
    it’s not enough.
    Minify is still building 30+ GB of cache files.
    I have also set to delete the files after 1 day, not 3 days. Still not enough.

    Thread Starter Kyrian

    (@oloccina)

    I have set Minify to only minimize JavaScript files and delete cache after 1 day, is still building 15+ GB of cache every day, which causes issues with my server.

    I’d like to disable it completely, but as I said previously if I do so, then part of my site is broken (blank pages).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blank page when disabling Minify’ is closed to new replies.