Hello @otterreviews
I am sorry about the issue you are experiencing and I am happy to assist you with this.
You stated that you are using W3 Total Cache and Cloudflare. Is minify enabled in both W3TC and Cloudflare?
Also, have you enabled the AMP extension in Performance>Extensions?
Thank you!
Yes, I do. Which I know can be a problem, but with only CloudFlare’s minify enable I am getting horrible speed insight results, warning me that 10+ of my css and js is not minified.
It seems like CloudFlare is not doing its job, where I have two Page Rules:
– Cache Level: Cache Everything
– Edge Cache TTL: a month
Hello @otterreviews
Yes, it can be a problem. It is not recommended to use more than one minify solution. And have you tried disabling Cloudflare minify, Leave W3 Total Cache minify enabled and enable the AMP Extension?
Thank you!
With Minify disabled in W3, and enabled in ClouFlare, as well as AMP being enabled, I get a pass from AMP Validator, but now my PageSpeed Insights is horrible.
…block-library/style.min.css(www.otterreviews.com)
…block-library/theme.min.css(www.otterreviews.com)
…css/twenty20.css(www.otterreviews.com)
…icomoon/style.min.css(www.otterreviews.com)
…css/screen.min.css(www.otterreviews.com)
…css/wp-review.css(www.otterreviews.com)
…mts_schema/style.css(www.otterreviews.com)
…css/responsive.css(www.otterreviews.com)
…css/magnific-popup.css(www.otterreviews.com)
…css/font-awesome.min.css(www.otterreviews.com)
…jquery/jquery.js(www.otterreviews.com)
…jquery/jquery-migrate.min.js(www.otterreviews.com)
/css?family=…(fonts.googleapis.com)
These add up to 1.8 – 2.8 seconds on start up.
Hello @otterreviews
Thank you for the information.
And what if you disable Cloudflare minify, and enable W3 Total Cache to minify like asked in the previous post?
Thanks!
I tried this already, but I still get AMP error. It looks like CloudFlare doesn’t do its job, and W3 Total Cache does too much.
-
This reply was modified 6 years, 2 months ago by
Matic Broz.
Hello @otterreviews
Can you please re-enable W3 Total Cache minify, and disable HTML minify in the minify settings?
See if that helps.
Thank you!
This seems to have done the trick!
I still have some unused CSS to minify, but that’s the least of my problems right now.
Thank you for your help!
Hello @otterreviews
Thank you for the information.
Glad to know the issue is resolved.
Thank you!
For anyone driving by, we solved this simply went to Dashboard > Performance > Minify > Advanced > Never minify the following pages and put /amp/ in there. That seems to have done it.