PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Cache-control headers.

Quick Cache Plugin. Speeds up WordPress®.

Cache-control headers.

Postby james » January 13th, 2011, 3:47 am

Ok I'm one of those "if all you care about is blazing fast speed, and you don't update your site that often, you can safely set this to True".

So I enabled "Client-Side cache".

Here's are my current response header:
Code: Select all
HTTP Status Code: HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
ETag: ""
Server: Microsoft-IIS/7.5
Date: Thu, 13 Jan 2011 08:41:21 GMT
Content-Length: 29272


Question: I would like browsers to cache pages for 1 hour and not to check for new versions until 3600 seconds. What is the best way to accomplish this?

Should I just add...
Code: Select all
Cache-control: Max-Age=3600

to the server headers or is there a better way?

Also I'm curious without any cache-control added by me how long are browsers caching pages?

Thanks!
User avatar
james
Registered User
Registered User
 
Posts: 9
Joined: January 13, 2011

Re: Cache-control headers.

Postby james » January 16th, 2011, 10:51 am

Thanks for your help Jason. Our website is flying now!
User avatar
james
Registered User
Registered User
 
Posts: 9
Joined: January 13, 2011


Return to Quick Cache Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron