Minify not working after update
-
Hi there,
We encountered an issue with minification after upgrading the plugin to version 2.7.7. Previously, we were using version 2.7.0, and everything worked fine. Currently, minification is not working for JS and CSS, and the
/wp-content/cache/minifyfolder is empty.
-
Hello @dimelevov
Thank you for reaching out and I am happy to help!
The current stable version of the W3 Total Cache is 2.8.2 and since the mentioned version 2.7.0, there were no updates regarding minification.Can you please share if there are any console errors and also, which caching method you are using for Minify, please share the website URL if possible so I can check this while Minify is enabled
Also, please share the screenshot of the Performance>Minify section
Thanks!
Hi,
ver 2.7.0 is good but the 2.7.7 current ver of the plugin which we use not working good for me.
here are the screenshots from the plugin settings
https://app.screencast.com/oKF5spENpP6tShttps://app.screencast.com/7KR7mR1E0xxzB
website https://www.fxleaders.com/
Hello @dimelevov
Thank you for your feedback.
I can see that you are using Cloudflare also, so can you please check if Minify is enabled in Cloudflare for HTML, CSS and JS?
It’s not recommended to use Minify in both solutions.In Performance>Install please check the rules and make sure that the rewrite rules for minify are in /wp-content/cache/minify/ folder
Thanks!
Hi Marko, thanks for you responses.
I cant find any caching rules setup on the Cloudflare. I’ve update the plugin to the latest ver 2.8.2Also, I’ce checked the /wp-content/cache/minify/ folder, screenshots below
https://app.screencast.com/Lz0vwJDGvYH2s
https://app.screencast.com/NOWPLHh7zVha9Hello @dimelevov
Thank you for your feedback.
So the fiels are there and the files are minified. It seems that the wesite is not accessable atm?Can you confirm this?
Thanks!
Hello @vmarko,
right, it look like the site do not use them
I’ve forgot to write that the minify files are create after some time hour or two after I purge the cache on the site
Also, I am not sure if my site is using the cached page files. They are being created, but I am unsure if they are being utilized, as the site loads slowly.
Is there a way to check it?-
This reply was modified 1 year, 5 months ago by
dimelevov.
Hello @dimelevov
Well, this is weird. Is there chance you can completely remove and re-install the W3TC?
- Check .htaccess File (make backup)
W3TC will create many directives in .htaccess file to control the caching behavior. Each section will start and end with comments like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.
Ensure that no residual entries are left over in your .htaccess file after deleting the plugin. - Delete wp-content files and folders
- cache folder
- w3tc-config folder
- object-cache.php (if exists)
- advanced-cache.php (if exists)
- db.php (if exists)
- upgrade folder
- delete w3-total-cache folder in wp-content/plugins/ (if exists)
- Delete Cached Files from CDN (if using CDN)
Besides deleting all the relevant files, if you use CDN then ensure to purge the cached content from your CDN. This is necessary when you enabled minify option in W3TC settings. You should delete the minified and combined scripts and CSS files from your CDN server to avoid the site breaking on the browser. - Go to your wp dashboard and re-install W3 Total Cache
Let me know if this helps!
-
This reply was modified 1 year, 5 months ago by
The topic ‘Minify not working after update’ is closed to new replies.