we have enabled auto minify for HTML, JS, CSS and configured caching in page role.
both are not working, please check
Domain?
So you enabled minifcation via a page rule and not globally? Are you sure the path is correct? Post a screenshot of that page rule.
Well, the page rules wont take any effect, however you also enabled it globally in your second screenshot, right?
yes right
It would appear is if it actually worked.
-
https://www.skywaytour.com/static/js/script.js
gets minified. - The main page does not, presumably because of HTML errors → https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.skywaytour.com
its not working please check for valid CSS
https://www.skywaytour.com/static/css/custom.css
yes its minifying. but way html is not minifying i have added sample HTML file for testing
view-source:https://www.skywaytour.com/html-test
For starters, that document does not contain valid HTML either.
However, AFAIK Cloudflare does not remove carriage returns from HTML documents. Try indentation in the document and check whether that is kept as well.
This topic was automatically closed after 30 days. New replies are no longer allowed.