Logo

Satellite Internet Forum.
Please note that this forum is now READ ONLY and closed for login and changes
The new forum is here Space and Satellite Communications forum

Welcome, Guest.
Welcome to this satellite broadband discussion forum.  Wherever you are and whatever your problem we are here to help each other. Connecting to the internet via satellite is not always easy but is critically important to those in remote places or with poor terrestrial infrastructure.  Both service providers and customers are encouraged to contribute.  Read the Forum rules.
      Satellite internet forum          

testing with cache set to 1 month

(Read 680 times)
Admin1
YaBB Administrator
*****
Offline


Personal text from: Profile,
Options, Top line

Posts: 844
Jul 10th, 2015 at 2:31pm  
testing line 1
modified with line 2 added after 30 seconds

failed:  problem: not displaying updated forum pages after a change to the page.

If you accessed this forum earlier today and now have problems seeing an up to date page please clear your local cache.

Cache setting for forum pages is now back to access plus 5 seconds.

If anyone knows how to set cache time to 1 month for text/html pages (normal static pages) and to set dynamic pages like these forum pages (which are also type text/html) to cache = 5 seconds I would be pleased to know.

Using Apache, would this work ?

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
<Directory "/var/www/cgi-bin/yabb">
    ExpiresByType text/html "access plus 5 seconds"
</Directory>
ExpiresDefault "access plus 1 month"
</IfModule>

Best regards, Eric.
Back to top
« Last Edit: Jul 11th, 2015 at 7:53am by Admin1 »  
WWW  
IP Logged