Do Not Cache Pages

Tells the browser and any intermediate proxy servers NOT to cache the current page.

Overview

UI Access

Server Behaviors->SOS->Do Not Cache Page

Note: There is another extension out there that does essentially the same thing as this one, but we found that having Response.Expires set to -1000 didn't work for us. Ours uses Response.expires = 0

8/6/02 - Added Response.AddHeader command to set pragma to no-cache

Requirements

Type: Server Behavior
Product: Dreamweaver MX, UltraDev 1, UltraDev 4
Server Model: ASP JavaScript, ASP VBScript
Platform: Win XP/2000/2003/2008/7, Mac OS 8.6 or higher

Greg Olone

Greg OloneGreg is the President & Owner of Stretched Out Software Inc, a flourishing web & multimedia programming company located in Jacksonville, FL USA. With a background in programming and a degree in Computer Animation, the internet has become my playground.

Unless otherwise noted, all of Greg's extensions are Mac & PC compatible!

See All Postings From Greg Olone >>

Reviews

Doesnt seem to stop Flash being cached

December 17, 2002 by Anton Hughes
I was looking for something to stop Flash from being cached - this doesn't seem to do that.

Dont get this behavior to work.

December 31, 2002 by Anders N

This code works though:

<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Expires = -1 %>

By not using this extention

February 11, 2003 by Kenny Darcy

By not using ths Do Not Cache Page extention will my page be cached. Each page of my site I use/call the same the same .javascript file. Is my page cached the first time a client goes to it thus my .javascript file is only downloaded once. Or do i have to ask the page to be cached. It may seem a simple question but it is one that was playing on my mind as I found a page I created ws taking it time between links and I was wondering was it caching or not.

Regards

Kenny

You must me logged in to write a review.