To improve the performance of my site someone advised me to Add Future
Expires Headers.

The instruction to do so reads like:
This goes in your root .htaccess file but if you have access to
httpd.conf that is better. This code uses the FilesMatch directive and
the Header directive to add Future Expires Headers to certain files.

 <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header
set Expires "Thu, 15 Apr 2010 20:00:00 GMT" </FilesMatch>


I asked the people at webfaction how to proceed, their reply reads
like:

You cannot access the httpd.conf for the main server so you will need
to set this on the
backend in your httpd.conf for your web2py app. Any far out date will
be fine for the date.


Has one of you done this? and where in web2py would they file go?


Kind regard,

Annet.

Reply via email to