Hi,
I want ModPagespeed to send a Cache-Control: no-transform header in addition to the normal values it sends (Cache-Control: max-age=0, no-cache). So, what I want is the following header to be sent:
Cache-Control: max-age=0, no-cache, no-transform
Is there any way to achieve this?
I tried the following in PHP:
header("Cache-Control: max-age=0, no-cache, no-transform");
But then ModPagespeed will honor the
no-transform setting by
not optimizing the HTML.
What I want is optimized HTML code, but sending no-transform "downstream".
In case anyone wonders why I want this: There are some services like "Google Web Light" that try to provide minified versions of websites for users with low bandwidth. However, it fails on my sites and makes them unusable, because they depend on JavaScript. The way to tell Google Web Light, and possibly other such services, not to do this for a particular website, is to send the Cache-Control: no-transform header.
Thanks for any suggestions!
Best regards,
David