Browser Widget Appears to be caching data (JavaScript)?
Sannyasin Brahmanathaswami
brahma at hindu.org
Wed Feb 8 01:31:04 EST 2017
Are you serving this content yourself from your web server? If so there are "cb" (cache busting) methods already well worked out.
e.g.
logo.jpg # on disk
logo-cb123455678.jpg # in the html code
and mod-rewrite handles the translation back to the original image. So you can update "logo.jpg" without changing it's name, but your content assembly system appends the cache busting string to the outgoing html… (Ralf does this in RevIgniter)
BR
On 2/6/17, 7:07 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
To refresh a browser cache I put an argument on the URL that is different
from the last request and the cache will be invalidated. In LC I put
"&seconds=12345678" at the end of the URL arguments or if there are no
arguments then I put "?seconds=12345678" where "12345678" is the LC "the
seconds". This only helps if there is no more than 1 request per second.
More information about the use-livecode
mailing list