Managing page cache lifetime (TTL)
-
Hello.
W3 Total Cache 2.1.1
One of my sites has a lot of articles with rare update. Some of them are popular (up to several thousands hits per hour) and often commented, some not. At same time this site has a lot of returned visitors, not just new one-time visitors from search engines. I need to setup server cache lifetime correctly. And I am very puzzled with this.
As I understand W3TC allows to set lifetime for page cache (server side cache) with option “Expires header lifetime” in HTML-section of Browser cache settings page. Correct? If so, this is not good for me. I cann’t set long time here, because:
1. if user commented article and somebody answered him, user should see this answer, but not page, cached in browser;
2. if something changed at this articles by content-manager (happens rare, but happens), returned users should see this immidiately.So, I agree to set header lifetime for browser up to 1 hour, but not more. At same time I want to keep server cache for pages not less than 24 hours in order to reduce server load. And I don’t understand, how to setup this with W3TC in case there is only one option for both timers.
Any idea, what to do? Maybe, any good manual about setup page cache in W3TC?
- The topic ‘Managing page cache lifetime (TTL)’ is closed to new replies.