Dynamic Page 1

This is a dynamic ASP page. When the server returns this page, it will not set the Last-modified or Expires header, making it impossible for the browser to detect whether the content has changed or not.

To test the caching behavior, switch to the second dynamic page.


Sample request/response on first load ...

http://www.zaplana.net/Articles/Caching/Page_1.asp

GET /Articles/Caching/Page_1.asp HTTP/1.1
Host: www.zaplana.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Mon, 18 Sep 2006 07:55:22 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Content-Length: 845
Content-Type: text/html
Cache-Control: private
    

... and on the subsequent loads:

http://www.zaplana.net/Articles/Caching/Page_1.asp

GET /Articles/Caching/Page_1.asp HTTP/1.1
Host: www.zaplana.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Mon, 18 Sep 2006 07:56:37 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Content-Length: 845
Content-Type: text/html
Cache-Control: private