• Resolved francoc30

    (@francoc30)


    I have minify enabled. I see wpo-minify folder being created under Cache folder. In the wpo-minify folder there are many subfolders with 10 digits number as folder name, like wpo-minify/1648779859. In each numbered subfolder there are two subfolders called assets and header. Can you explain what all these represent? Can I delete the old numbered folders without compromising the minification function?
    There is also a folder called tmp under wpo-minify. Can you explain what is its function.
    I just want to understand how minify works. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @francoc30 When you minify JS and CSS files from WP-Optimize WP-Optimize creates a folder wpo-minify and stores in it, the best way to delete the files is purgeing the minified files from WP-Optimize > Minify, do not delete it manually from filemanager or FTP.

    Thread Starter francoc30

    (@francoc30)

    @bornforphp What happen after I purge the minified files? Will they be generated when visitors visit the site or I have to run Preload Cache to generate all pages?
    I saw from another post in this forum using some added code to limit the number of old minify files in the folder. This will save some server space. Will that works?
    Also please answer all my queries and not skip over some. Much appreciated.

    @francoc30 Once you delete the minified files it will generate again when users visit your site.

    Could you please let us know which code snippet you are talking about?

    Thread Starter francoc30

    (@francoc30)

    The snippet below is to be added to the child theme function.php

    add_filter( ‘wp_optimize_minify_cache_expiry_time’, function( $original_value ) {
    return time() – 86400 * 3;
    } );

    Please confirm.

    Yes this snippet is added to your active child themes functions.php file.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘contents of wpo-minify folder’ is closed to new replies.