• Resolved wbeaumo

    (@wbeaumo)


    After I update my CSS or JS files, doing “Purge All Caches” or “Purge Modules -> Minify” does not update the minified files to the latest version. The only way to update them is to switch from auto to manual and vice versa. I have WordPress 5.3.2 and am using W3TC 0.13.0 (non-premium). Incidentally, I looked under the wp-content/cache/minify directory and was surprised to find no CSS or JS files there. Investigation of the plugin code revealed that it’s storing minified CSS and JS in the database, but I don’t have database caching turned on.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wbeaumo

    Thank you for your inquiry and I am happy to assist you with this.
    Sometimes modifications to existing .js and .css files are not reflected for users visiting your website because those files have been cached in the user’s browser from a previous visit and the cached version is served instead of the most recent version.
    In this case, you need to perform cache busing. You can check this article for more details.
    Also, when inspecting your website, I can see that minified files are stored on disk: wp-content/cache/minify/ Please check this screenshot.
    Thank you!

    Thread Starter wbeaumo

    (@wbeaumo)

    Nope, sorry, minified files are NOT stored on disk. I SSH’ed into the server myself, and I confirmed the contents are in the database under the wp_options table. Don’t be fooled by the URLs.

    Thread Starter wbeaumo

    (@wbeaumo)

    Also, I’m running the site with Chrome Developer Tools with the option “caching disabled” checked. In the Network tab, under the Size column, I see the download sizes (as opposed to “disk cache” if it were actually using its cache), so I know it’s downloading the files from the server.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wbeaumo

    Thank you for the information.
    Can you please share the screenshots of the wp-options table where you see that. Also, a screenshot of the 2020/wp-content/cache/minify/ would be appreciated.
    Are you using any other Cachining solution like server-side caching or CDN?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t purge minify cache’ is closed to new replies.