Hi - was wondering if someone could help us understand a few things around Google PageSpeed Mod.
We're currently in the midst of the implementation the PageSpeed mod (On a commerce platform, running WAS and apache). We're initially focusing on getting the following filters to work:
- combine_css,combine_javascript,rewrite_css,rewrite_javascript
What we're seeing is that on FirstView (therefor nothing cached locally) there is no record of pagespeed doing any js/css combining or rewriting. With debug, we can see the output of pagespeed towards the bottom of the HTML document (and pagespeed response header is set), but no css/js rewrites & combines.
On repeat view however (i.e. refreshing), we see the desired results - multiple css/js have been rewritten & combined.
Quickly checking other filters - for example collapse_whitespace - this does work on firstview. So seems to be related the specified filters.
Is there any possible explanation for this? Something related to the way the pagespeed updated js/css is written to cache?
It's worth mentioning, we're doing manual testing - so passing the filters and PageSpeed=on as headers (we can't just turn it on at all times at the moment).
-------------------------------------------------------------
Another question I have is related to caching. I'm trying to understand what exactly is cached by pagespeed. As we have multiple different caching taking place (CDN for example) we'd ideally not have our web servers do the caching (preferably do all work on the fly). Is there a particular way of understanding what exactly is being cached by pagespeed? If the indibidual css/js files are cached, that would be fine - but if the entire content of a request is cached (html, etc) - then that may create issues.
Many thanks for your help.
Matt.