Jump to content

Achievo/Howto/Developers/Speed up Achievo

From NusaATK
Revision as of 19:12, 29 November 2008 by Sandy (talk | contribs) (New page: This page will describe some tricks to speed up Achievo. As of version 1.4 (not released yet) there are some performance updates done in Achievo it self. == Use gzip compression == In at...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page will describe some tricks to speed up Achievo. As of version 1.4 (not released yet) there are some performance updates done in Achievo it self.


Use gzip compression

In atkconf.inc you can add the following config:

$config_output_gzip = true;

Use apache deflate module

With the apache deflate module it is possible to change the cache behavior of the caching from files.

 ExpiresActive on
 # cache common graphics for 3 days
 ExpiresByType image/jpg "access plus 3 days"
 ExpiresByType image/gif "access plus 3 days"
 ExpiresByType image/jpeg "access plus 3 days"
 ExpiresByType image/png "access plus 3 days"
 # cache CSS for 24 hours
 ExpiresByType text/css "access plus 24 hours"
 # set the default to 24 hours
 ExpiresDefault "access plus 24 hours"