Hi,
I have some page rules setup for 2 pages, my main landing page and my docs page.
My main 1st page rule for landing page I’ve set Auto Minify for **HTML / CSS / JavaScript**.
On my 2nd page rule for Docs, I’ve set Auto Minify ONLY for **HTML / CSS** yet on this page, it’s applying JavaScript Auto Minify.
Can anyone help me fix this issue? I’ve attached screenshots of my 2 page rules below.
Your help is much appreciated!
Thank you,
Jay
Here’s a screenshot of it overriding my page rule, look at highlighted area. Since I’m using custom JS imports, I do not want to apply JavaScript Auto Minify to this page because it’s resulting in console errors.
p.s. I suppose I could have mentioned all this earlier, but I was completely focused on Rule #1 overriding the other two rules and didn’t check the rest.
Since I’m still making edits to my site, my files aren’t in production mode, you’re right it’s better to self manage minification for this. Especially when dealing with custom front-end frameworks, CF’s Auto Minify may not know how to deal with JS minificaiton properly, that’s why I can’t use it on my docs page.