Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jan 24, 2011 2:27 am 
Offline
Newbie

Joined: Mon Jan 24, 2011 1:00 am
Posts: 2
Location: Russia
Hello! I'm new here, so I think I need to contribute something before spamming the board with my questions :)

Yesterday I accidentally looked at one of my websites HTTP headers. This website serves a lot of images and there were NO cache headers at all. Then I realised it was working like that for an year and half! Oh my! I thought cache headers were turned on!

I've added Expires header and it lowered my bandwidth and CPU usage in HALF. One-liner would save me ~300GB per month. Moreover, this website is now working with a speed of light. And I've not implemented 304 Not modified in my backend script yet (my next step).

Check your cache headers today!

http://www.w3.org/Protocols/rfc2616/rfc ... html#sec13
http://wiki.nginx.org/HttpHeadersModule

Hope it can be useful for someone!


Top
   
 Post subject:
PostPosted: Mon Jan 24, 2011 3:17 am 
Offline
Senior Newbie

Joined: Mon Dec 06, 2010 7:35 am
Posts: 6
This is a great shoutout. :)

Static caching, GZIP, and dynamic caching (for PHP, such as eAccellerator) can make a mean combo to instantly reduce a bit of resource usage.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 9 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group