How to setup TTL for PageSpeed


#1

I am running EE with FasCGI and PageSpeed. WordPress is not updating css adjustments, even after purging the Nginx helper.

How can you setup the TTL for PageSpeed?


#2

@clemens,

TTL for pagespeed is dependent upon cache expire period of static content. You can expire period of cache content with using following command.

curl -I example.com/example.css

It will show you something like following

Expires: Thu, 31 Dec 2037 23:55:55 GMT
Cache-Control: max-age=315360000
Access-Control-Allow-Origin: *

Its always better to keep cache expire period to Maximum value. But if you want to Purge PageSpeed cache after changes you made, you can hit to following url:

http://examle.com/pagespeed_admin/cache?purge=*


#3