[ka-Map-users] How to disable browser cache ?
luper.rouch at gmail.com
Wed May 9 18:40:57 EDT 2007
I am writing a simple mapserver file editor used in conjunction with
ka-map : there is a textarea showing the mapserver file contents, and an
iframe showing it in ka-map. When the user clicks the update button, the
mapserver file is saved and the ka-map disk cache is cleared.
My problem is that the ka-map iframe has to be manually reloaded to see
the newly generated /images/ : if I change the layers order the changes
are visible in ka-map, but if I change e.g. a STYLE color I have to
reload the iframe. The files in the disk cache reflect the change, so
this is clearly a browser cache issue.
I tried to put all sorts of meta tags both in the main page and in the
ka-map iframe, but it has no effect :
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache" content="no store" />
<meta http-equiv="expires" content="-1" />
I also tried to add a random parameter to the iframe url, still with no
Thanks for your help,
More information about the ka-Map-users