Anonymous User 16850768
(@anonymized-16850768)
We’re happy to hear you’re enjoying Cache Enabler! I’ve been unable to replicate this issue on version 1.5.5 of Cache Enabler and version 5.5.1 of WordPress. HTML if minified and the inline CSS and JavaScript is as well if included.
To troubleshoot this further, what version of WordPress do you have? Does this still occur after enabling the setting and clearing your cache? If yes, can you please provide a screenshot of your Cache Enabler settings?
Hiya Corey,
Here settings of Cache Enabler – https://prnt.sc/v8kso3
WordPress version – 5.5.1
Minification not occurs at all, no matter of cache cleaning.
Thanks in advance.
Anonymous User 16850768
(@anonymized-16850768)
Thank you @asclepius. To confirm, have you made any changes that I may not be aware of? I ask because when checking your website it does appear your HTML is minified. Your inline CSS and JavaScript isn’t because of the settings you have defined in the previously provided screenshot.
Hiya Corey,
I didn’t make any changes, Just include js an css in minification. The result I am seeing is as example as follows:
https://prnt.sc/vac5tn
https://prnt.sc/vac65t
https://prnt.sc/vac6hf
Previous screenshots are before ctrl+F5 refresh.
I just tested in view source and AFTER ctrl+5 I am seeing as follows:
https://prnt.sc/vac7x8
And then I changed to including css and js in minification and I am seeing this:
https://prnt.sc/vac9cx
https://prnt.sc/vac9oc
https://prnt.sc/vac9y5
Very strange and unpredictable behavior. It seems when I am including js and css html doesn’t participate in minification. When I exclude them html at some moment in time is minified. Very very strange.
Here are current settings: – https://prnt.sc/vacazf
-
This reply was modified 5 years, 7 months ago by
Asclepius.
-
This reply was modified 5 years, 7 months ago by
Asclepius.
Anonymous User 16850768
(@anonymized-16850768)
When checking your website again I see that the HTML as well as the inline CSS and JavaScript are being minified:
Does this occur after clearing your browser cache?
Yeah maybe,
Steps to reproduce:
1. Login in the admin.
2. Clear cache from admin bar.
3. Go to home page, load it.
4. View source show all minified.
5. In the view source regime I reload page with ctrl+f5 and then source is not minified.
6. In view source I pressed again ctrl+f5 to reload page without cache and then source IS minified?!
So I am confused, whether minification works or not.
-
This reply was modified 5 years, 6 months ago by
Asclepius.
Anonymous User 16850768
(@anonymized-16850768)
Minification is working correctly as even checking your website again I see that it’s still being minified. It looks like you may of had the unminified version cached in your browser or maybe even were viewing a page when logged (by default when logged in the cache will be bypassed).
Okay, thank you so much! You rock!!! 🙂
Anonymous User 16850768
(@anonymized-16850768)
You’re most welcome! 🙂 If you haven’t already and are able leaving a review is always appreciated.