youngj / Envaya

A technology platform for civil society organizations in developing countries
http://envaya.org
Other
17 stars 8 forks source link

set up output cache for public pages #27

Closed youngj closed 13 years ago

youngj commented 13 years ago

http://wiki.nginx.org/NginxHttpProxyModule#proxy_cache looks like it would work

youngj commented 13 years ago

or rather, http://wiki.nginx.org/HttpFcgiModule#fastcgi_cache .

in 4bd1c5e6f9cdbc906733f10706d1d87498c7d648 . there is no cache invalidation except when updating the website code, but the cache time is short (1 minute) and it only uses the cache when there is no session cookie