[Xerte] Re: Standard method of preventing caching?

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Tue Jan 18 23:26:11 GMT 2011


in the embed code, when you load a swf, and some xml just add a fake get variable on the end

name.swf?time = insert random number here (usually call a Unix timestap function)

This works in toolkits (see there for examples).
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson [Paul.Swanson at harlandfs.com]
Sent: Tuesday, January 18, 2011 11:09 PM
To: Xerte discussion list
Subject: [Xerte] Re: Standard method of preventing caching?

Not sure if it would cascade to a flash piece, but to prevent caching of the html loading page add the following to the <head></head> section of your web page:

<meta http-equiv=”cache-control” content=”no-cache, no-store, must-revalidate”>
<meta http-equiv=”Pragma” content=”no-cache”>
<meta http-equiv=”Expires” content=”-1”>

Paul

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Tuesday, January 18, 2011 2:28 PM
To: Xerte list
Subject: [Xerte] Standard method of preventing caching?

cacheing?
ka-ching?


I don't think streaming stuff gets cached anyway, so the bulky stuff is no problem.

But I'd like to force down everything else fresh each time (at least until it's stable).

swfs, xml's rlo's etc.



More information about the Xerte mailing list