Hi, below my settings:
I have disabled caching (!) because I rather have an accurate article hit counter and the hardware is fast enough:
please note that the cache and lifetime is in minutes! meaning that your lifetime is 300000 minutes = 208 days???
Code:
public $cache_handler = 'file';
public $cachetime = '240';
public $caching = '0';
I have a high session lifetime: because we are a blog site people loose their connection when typing to long without saving
Code:
public $lifetime = '60';
in Kunena I have set caching to 1 minute
this is what I have in my .htaccess and really impacts performance:
Code:
....
## End - Joomla! core SEF Section.
<IfModule mod_expires.c>
ExpiresActive on
# By default cache all files for one day
ExpiresDefault "access plus 1 day"
# Fix FireFox 3.6 bug
ExpiresByType text/cache-manifest "access plus 0 seconds"
# Your document html
ExpiresByType text/html "access plus 0 seconds"
# Data
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"
# Feed
ExpiresByType application/rss+xml "access plus 5 minutes"
ExpiresByType application/atom+xml "access plus 5 minutes"
# Favicon (cannot be renamed)
ExpiresByType image/x-icon "modification plus 1 month"
# Media: images, video, audio
ExpiresByType image/gif "modification plus 1 month"
ExpiresByType image/png "modification plus 1 month"
ExpiresByType image/jpg "modification plus 1 month"
ExpiresByType image/jpeg "modification plus 1 month"
# HTC files (css3pie etc)
ExpiresByType text/x-component "access plus 1 week"
# Webfonts
ExpiresByType application/x-font-ttf "modification plus 1 month"
ExpiresByType font/opentype "modification plus 1 month"
ExpiresByType application/x-font-woff "modification plus 1 month"
ExpiresByType image/svg+xml "modification plus 1 month"
ExpiresByType application/vnd.ms-fontobject "modification plus 1 month"
# CSS and JavaScript
ExpiresByType text/css "modification plus 1 week"
ExpiresByType application/javascript "modification plus 1 week"
ExpiresByType text/javascript "modification plus 1 week"
ExpiresByType application/x-javascript "modification plus 1 week"
<IfModule mod_headers.c>
Header append Cache-Control "public"
</IfModule>
</IfModule>