autoptimize explicitely bails out of optimization for amp-pages, as this breaks the amp-validation screenmachine.
hope this clarifies,
frank (ao dev)
I gotcha, at least it wasn’t something I missed then. Thank you.
Is there any recommended method to at least minify AMP’d pages output?
had a look at the source code of http://ampforwp.com/demo/?amp, seems like the inline CSS is already minified. some HTML minification could be done (removing of linebreaks and tabs mostly), maybe something the plugin devs could add (although the performance-gain would be minimal)?
@screenmachine
Thank you so much for using the plugin. We don’t have any option to minify the CSS, but as @futtta has mentioned, it would be a very minimal gain in performance.
Hey Frank, @futtta Thank you so much for giving your time to help our user here on the thread. I really appreciate it! The reason it is minifying our output is because we have Google pagespeed mod on the server side.
I hope it helps,
Regards,
Ahmed
Dear Ahmed Kaludi,
I have used amp plugin in my website https://www.safari-sahara.com/. Content only fetch and display the page. But css and images are not loading.
My questions,
How to add the CSS files in amp?
How to call the IMAGES?
Am waiting your comments.
Thanks,
Stanislas.
-
This reply was modified 9 years ago by
stanisamj.
Hey @stanisam,
I apologize for the delay in response.
What css files you want to add in AMP?
Regards
Marqas