Search squid archive

Re: new website: final beta

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 10, 2007 at 11:46:42AM +1200, squid3@xxxxxxxxxxxxx wrote:
> > I don't have the web skills that you do, but I found the easiest way to
> > make php's cache-able was to lynx dump the php to a .html, and have
> > apache serve index.html in preference to index.phtml. Naturally, all
> > links to pages must be to the .html and not the .php:
> >
> 
> Whereas I have a completely alternate experience with cachability.
> PHP has the ability to easily prepend headers that specify cachability and
> duration.
> Alternatively apache can do that itself with VirtualHost or .htaccess
> configs.
> 

Oh OK, I never even thought of using mod_expires entries in per
directory .htaccess files. Good point.

I did play about with PHP headers, but found it awkward when using
common header templates and wanting only some pages to be dynaminc.

Thanks for the tip.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux