Flex Google Chrome cache issue -


i have 1 issue web project use release new swf, older version gets cached in chrome , have clear cache see it. same not happen in firefox , ie.

environment used: - web application (flex), browser tested on ie, firefox , google chrome.

is there programmatic solution can solve problem using javascript, html or through flex?

solution tried (does not work): -

i have following headers:

meta http-equiv="content-type" content="text/html; charset=utf-8" />

meta http-equiv="cache-control" content="no-store, no-cache, must-revalidate" />

meta http-equiv="pragma" content="no-store, no-cache" />

meta http-equiv="expires" content="0, -1" />

use naming convention swf includes version , build number. file name difference address caching being best practice numerous reasons.

it's hard argue it's better guess version of code base "myapp.swf" versus "myapp.2.1.0015.swf" , knowing immediately.

here version nomenclature.

http://apr.apache.org/versioning.html

i'm confused why people adverse rename operation after compiling. make part of deployment routine. updating little html point the appropriate build not time consuming.

i promise users won't care if you're builds appropriately named, in fact, doubt they'll notice other not having more caching issues.

if you're re-distributing you're app , patches , hassle 2 minutes of html point new build, you're doing wrong.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -