Forum Moderators: coopster
However, when I use URL rewriting and generated a page from content in a database, that may or may not have been updated since the visitor was last on my page, I loose the ability to tell the user that they already have a current version of a given page in their cache.
How do I regain that option? I assume I need to read the HTTP header from the client and see what version the client has on her computer, and then either do a short http header response saying “nothing changed” or resent the entire page. Am I going in the right direction here?
Best regards, Egil.
GET /somepath/ HTTP/1.1
Host: www.exampel.com
If-modified-since: Wed, 2 Jul 2006 09:23:24
Has anybody done this before, if so, how did you do it?
Also, more generally, if anybody else had considered what I'm trying to do, and what their thoughts is about it - is it worth the hassle, extra cpu time etc.
Thanks for replying, Egil.