Thank you, Frank.
It helped.
If I need to exclude several pages, should I put all of them into the same snippet?
I tried to create separate snippets, but it caused 500 error.
Frank, thank you for the advice.
I’ve tried to add code as snippet through plugin (replaced ‘no-autoptimize-now’ with ‘cart’ in one snippet and ‘checkout’ in another).
All pages of my site loaded blank.
Tried to paste code directly into autoptimize.php after line
// filter you can use to block autoptimization on your own terms
Same effect.
Hello, guys
Tell me please, where exactly I should place this code?