I use in the head

<HEAD>
<META HTTP-EQUIV=3D"Pragma" CONTENT=3D"no-cache">
<META HTTP-EQUIV=3D"Expires" CONTENT=3D"0">
</HEAD>

And then

<CFHEADER NAME=3D"Pragma" VALUE=3D"no-cache">
<CFHEADER NAME=3D"cache-control" VALUE=3D"cache-control, no-store, =
must-revalidate">

it works fine for me. (CF5)
  ----- Original Message -----=20
  From: Snake Hollywood=20
  To: [EMAIL PROTECTED]
  Sent: Wednesday, August 27, 2003 6:27 PM
  Subject: [cfmail] [ cf-dev ] FW: caching



  Am having some caching problems, have to hit referesh on pages to show
  latest data. Tried the below code, but no luck, links are still =
showing
  cached data.

  Would this be because ethe pages were already cached in my browser
  before I added this code, or should these headers automatically expire
  anything I have cached.

  >
  > <cfscript>
  > gmt =3D gettimezoneinfo();
  > gmt =3D gmt.utcHourOffset;
  > IF (gmt EQ 0) {
  > gmt =3D "";
  > } ELSE {
  > if (gmt GT 0) {
  >     gmt =3D "+" & gmt;
  > }
  > }
  > </cfscript>
  >
  > <CFHEADER NAME=3D"Pragma" VALUE=3D"no-cache">
  > <CFHEADER NAME=3D"Cache-Control" VALUE=3D"no-cache,

Reply via email to