[SAC] Re: [OSGeo] #89: Improve caching of website
OSGeo
trac_osgeo at osgeo.org
Mon Mar 26 11:47:39 EDT 2007
#89: Improve caching of website
--------------------------+-------------------------------------------------
Reporter: tmitchell | Owner: sac at lists.osgeo.org
Type: enhancement | Status: new
Priority: minor | Component: SAC
Resolution: | Keywords: drupal cache performance
--------------------------+-------------------------------------------------
Comment (by tmitchell):
It is also noted that Drupal may not be handling 404 requests nicely...
since there are many dead links from old site structure, it is recommended
we modify .htaccess to handle things better:
* as per http://drupal.org/node/56773
and as clousau on IRC mentions:
{{{
clouseau: also, this was added to .htaccess in Drupal 5, but will work
with 4.7:
[08:44am] clouseau: # Requires mod_expires to be enabled.
[08:44am] clouseau: <IfModule mod_expires.c>
[08:44am] clouseau: # Enable expirations.
[08:44am] clouseau: ExpiresActive On
[08:44am] clouseau: # Cache all files for 2 weeks after access (A).
[08:44am] clouseau: ExpiresDefault A1209600
[08:44am] clouseau: # Do not cache dynamically generated pages.
[08:44am] clouseau: ExpiresByType text/html A1
[08:44am] clouseau: </IfModule>
[08:44am] clouseau: that helps graphically-heavy sites more
}}}
* Upgrading to Drupal 5 will help in some areas too
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/89#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list