Home page of Satellite Internet and Information

Satellite Internet 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. Service providers and customers are encouraged to contribute. Register at the bottom of the forum home page if you wish to contribute or ask a question. VSAT service providers and satellite equipment sellers may feature their products free of charge; just register and get posting. Paid-for adverts, top left and top right, on all forum pages, are also available. Read the Forum rules.
      Home            Login            Register          
Pages: 1

testing with cache set to 1 month

(Read 1194 times)
YaBB Administrator

Posts: 989
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"
ExpiresDefault "access plus 1 month"

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