•  · 28 friends

caching recommendations

Hi UNA team,

What do you recommend for optimal apache cache settings?

With these settings below for the home page I reached to 3 seconds with chrome and 4 seconds with Firefox on lucid.

Safari is not giving good results.

Are there further things to do without affecting the functionality?

ExpiresActive on
ExpiresDefault "access plus 5 seconds"
text/html "access plus 15 days"
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
text/js "access plus 1 minutes"
text/javascript "access plus 1 minutes"

???

0 0 0 0 0 0
  • 184
Replies (1)
  • It's ok to cache static files, but be careful with caching dynamic pages, if you enable caching for dynamic pages make sure that cache is private and can be distinguished between different users using some param so one user will not see logged in another member.

    0 0 0 0 0 0
    Not logged in users can't 'Comments Post'.
    1
    1
    Added:
    Category:

    UNA - Social Media Software Framework

    Close