Leverage browser caching

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
sigih.
-


Joined: 09 Mar 2012
Posts: 18
Location: austria

PostPosted: Thu Dec 19, 2013 7:53 pm    Post subject: Leverage browser caching Reply with quote

Is there a easy way for activating leverage browser caching on Abyss?
Will speed up my web sites greatly ...

regards
sigih.
Back to top View user's profile Send private message Visit poster's website
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Fri Dec 20, 2013 5:42 pm    Post subject: Reply with quote

Hello sigih--

I have done just what you are wanting to do. First stop, go to Pingdom at:
http://tools.pingdom.com/fpt/

They will show you just which files need cache control (usually static files like style sheets, images, and javascript (.js), etc.) Open your Abyss Control Panel and host (if X2).

Click "General" button and then click "advanced parameters."
Under "File Expiration Times"
Virtual Path= /
Mime Type= All (*/*)
Time Base= Request Time
Time Delta= 7 day(s)

If you are using compression (and it is usually a very good idea especially for text/* and application/* ) you should also move up the Advanced Parameters page to add a Custom Header as below:

Custom HTTP Headers
Virtual Path= /
HTTP Header Name= Vary
HTTP Header Value= Accept-Encoding

Save all that and re-test at Pingdom.

One one of my websites, using Firefox's "Firebug" the response headers then look like this for a javascript file:
HTTP/1.1 304 Not Modified
Vary: Accept-Encoding
Transfer-Encoding: Chunked
Connection: Keep-Alive
Keep-Alive: timeout=500000, max=50
Date: Fri, 20 Dec 2013 16:45:10 GMT
Server: Abyss/2.9-X2-Win32 AbyssLib/2.9.0.0

Response Headers From Cache
Cache-Control max-age=604800
Content-Encoding gzip
Content-Type application/x-javascript
Date Fri, 20 Dec 2013 16:45:10 GMT
Expire Wed, 18 Dec 2013 15:48:28 GMT
Last-Modified Fri, 28 Jun 2013 16:58:40 GMT
Server Abyss/2.9-X2-Win32 AbyssLib/2.9.0.0
Vary Accept-Encoding


Hope that helps.
Regards,
Axis
Back to top View user's profile Send private message
sigih.
-


Joined: 09 Mar 2012
Posts: 18
Location: austria

PostPosted: Sat Dec 21, 2013 10:47 am    Post subject: Reply with quote

You'are the man !

Great all is working now and more speed than ever before ...

TNX a lot.

regards
sigih.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group