I've been trying to use pagespeed for a site, but have been encountering mixed results. When it works, it is fantastic, but unfortunately it only seems to work on some page loads. The particular issue that I am facing is the use of
prioritize_critical_css. On around 1/7 page loads it actually works and inlines the critical css. On the other loads it seems to just let the page load normally as if the filter wasn't enabled.
Some patterns I've noticed is that if it loads, it usually will stay loaded for a couple of page reloads afterwards. When testing the pagespeed tool from Google, the results are more like 1/20 page loads.
I've noticed similar occurrences with other filters, but as they aren't as critical to my site, I would like to address this one first. When I check the headers on the site I see that pagespeed is indeed running.
Can anyone help me to debug this issue.