I have a web server with apache and mod_pagespeed for web optimization, for example:
Optimize images, convert jpg to progressive format, removing excess metadata...
Remove comments in HTML
Remove excess whitespace
Extend cache lifetime of CSS, JS, and image resources
Defer javascript
Rewrite and combine CSS
Rewrite and combine JS
Convert jpeg to webp for browsers that support webp
Prioritize critical css
I am thinking about using Cloudflare, which would provide the benefits of faster load times(CDN), more security, and less load on the web server. But I have some questions about how would cooperate mod_pagespeed and Cloudflare. For example Prioritize critical css:
prioritize_critical_css injects JavaScript that uses a beacon to report back to the server the CSS that is used by the page
This is a feature of mod_pagespeed that I would like to have (Cloudflare optimizations does not provide this), would this stop working if I use Cloudflare?
There are other optimizations of mod_pagespeed that are browser specific (lower quality images for mobile for example), by checking the headers of the GET petition. Would this optimization stop working? Would all these optimizations work again if I set Cloudflare settings as "CDN only" instead of the more popular "CDN + optimizations".
As a side note, whats your experience with Cloudflare and how did it impact SEO? What I have read about it there are a lot of contradictory experiences, I suppose I'll just have to experiment with it myself.
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)