[osflash] [OSFlash] Flash and Cache
Juan Pablo Califano
califa010.flashcoders at gmail.com
Mon Jan 21 11:37:11 PST 2008
A similar option to force the browser not use the cache but just the first
time (forcing a download every time for every user might be overkill), is
adding a parameter to the querystring like this.
That way, all users will download a fresh version, and the swf will be
cached for the next request (or not, depending on their cache settings). In
case you need to force another download, just change the version value in
the querystring to a something like ?version=3. As long as the parent site
itself is not cached itself, it should work.
Juan Pablo Califano
2008/1/21, Matthias Dittgen <matthias at dittgen.org>:
> Hello Alex,
> you could append a random querystring to your swf file, like
> test.swf?random=8e42w89r4 and this way the browser will reload the swf
> and not use the cached version. In your special case, if caching is
> tolerated, you could append two different string, either if your swf
> is loaded from its site or its parent site.
> On Jan 21, 2008 5:29 PM, Alexander Bienz <abienz at gmail.com> wrote:
> > Hi there.
> > I'm working on a flash website at the moment that is having some strange
> > behaviour and I think it's to do with a cache issue.
> > The site in question can be accessed in two ways, either directly or via
> > parent site. If the user enters from the parent site, then some extra
> > information is sent through the querystring, and this is used in the
> > movie.
> > However it appears that this doesn't work all the time, and it seems to
> > related to the users cache, if they clear their cache and enter through
> > parent site, then things will work fine, but on repeated attempts
> > clearing the cache it will sometimes miss out on the part that uses the
> > querystring data.
> > I'm wondering if this is a common issue with Flash and cache, and if
> > are some server settings that can be set to help with this.
> > Any help would be really appreciated.
> > Cheers,
> > Alex.
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> osflash mailing list
> osflash at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osflash