Re: [web2py] Re: apache question. page caching

2010-02-12 Thread Timothy Farrell
My church server runs Ubuntu 6.06 (old I know) and it has /usr/lib/apache2/modules/mod_expires.so as part of the normal apache package. Perhaps someone with a newer Ubuntu can help. On 2/12/2010 2:23 PM, mdipierro wrote: I do not have it. How do I install it under ubuntu? On Feb 12, 12:46 pm

[web2py] Re: apache question. page caching

2010-02-12 Thread mdipierro
I do not have it. How do I install it under ubuntu? On Feb 12, 12:46 pm, Timothy Farrell wrote: > There are two ways to go about this: > > Long cache time (only ask for files periodically): > > # Configure Expires Header for PDFs > ExpiresActive On > ExpiresByType image/jpeg "access plus 1 months

Re: [web2py] Re: apache question. page caching

2010-02-12 Thread Timothy Farrell
There are two ways to go about this: Long cache time (only ask for files periodically): # Configure Expires Header for PDFs ExpiresActive On ExpiresByType image/jpeg "access plus 1 months" ExpiresByType image/jpg "access plus 1 months" ExpiresByType image/png "access plus 1 months" ExpiresByType

[web2py] Re: apache question. page caching

2010-02-12 Thread mdipierro
I use the apache config file configured by this: http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh apache serves them directly. This is not a web2py issue but an apache issue. On Feb 12, 11:10 am, Timothy Farrell wrote: > Clarify this a little.  Is Apache serving the s