Another idea, if it is indeed browser caching, you could try putting another arg on the end of the wms requests to make them different, say a counter for example.  Geoserver will ignore it but it will ensure the URLs are always different and may stop the browser caching it.
<br><br><div><span class="gmail_quote">On 8/26/07, <b class="gmail_sendername">Tom (JDi Solutions)</b> &lt;<a href="mailto:tom.dean@jdi-solutions.co.uk">tom.dean@jdi-solutions.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Not sure what to actually do about it but could it be that the tiles are being cached by the browser?&nbsp; In my experience browser caching can be unpredictable at best especially when you consider that corporate content filters / firewalls and proxies also often have caching features.&nbsp; There are ways to set the headers on files to tell the browser not to cache it but they are not reliable.&nbsp; Maybe OpenLayers / Geoserver has a clever way around this?&nbsp; One way you could possibly improve things is to set your overlay to be non tiled, that way the requests will almost always be different and the browser won&#39;t cache them.&nbsp; 
<div><span class="e" id="q_114a183514265800_1"><br><br><div><span class="gmail_quote">On 8/26/07, <b class="gmail_sendername">Jonke</b> &lt;<a href="mailto:jonke@bt.nu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jonke@bt.nu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I really like openlayers.<br><br>However I have problem with the automatic refresh of a overlay (that is a<br>layer that is not a baselayer).<br>I have read thorough all the examples and I especially the one with the
<br>
Webcam.<br><br>However I start by describing the setup.<br><br>I have a baselayer (a big one with many layers in it served by GeoServer)<br>changes very rare.<br><br>I have a almost realtime dataset with 1 000 000 items, changes very
<br>frequently (300 000 changes every 30s), this is setup as a transperent<br>overlay with the isbaselayer: false. ( We can call this layer for overlay)<br><br>Both the baselayer and overlay have the tiled attribute set (not a
<br>tiledcache as a backend but just a vanilla geoserver).<br><br><br>When I scroll and pan and use the zoomin zoomout with the Mouse, the overlay<br>is properly refreshed and everything is fine.<br><br>When I try to do this javascript wise to get a &quot;automatic refresh&quot; (with a
<br>map.setCenter or layer.moveTo and the forcezoom to true), then I only see<br>the old overlay that seems to have been cached somewhere (and it is not by<br>the geoserver). I have tried different things, &quot;zoomOut();zoomIn();&quot; and
<br>&quot;removelayer(overlay);addlayer(overlay)&quot; with no luck.<br><br>Could it be that the layers are tiled and as long as I am in the same tile a<br>new request to the geoserver is not spawned?<br><br>I&#39;ve read the openlayers source but I can&#39;t pinpoint where the decision to
<br>retrieve or not retrieve data from the geoserver is done.<br><br>I tried to remove the tiled attribute for the overlay but that seem to do<br>not what I intended but to download a very large tile of my overlay and<br>

still not updateing using center, moveto.<br><br>But here comes the &#39;scratch my head&#39; part, if I with firefox open two tabs<br>to the same url where my openlayers are and switch back and fort between<br>them, then the center method works with both layers having the tiled
<br>attribute. If I stay in one tab I don&#39;t see any change of my overlay, if I<br>go to the next tab the overlay is refreshed and then I go back to the first<br>tab the overlay is refreshed.<br><br>If someone can point me to the &quot;right way&quot; todo this with many geometries I
<br>will gladly test another approach.<br><br>Regards.<br>--<br>View this message in context: <a href="http://www.nabble.com/Overlay-dont-%22refresh%22-with-setcenter-forcezoom.-tf4327410.html#a12324516" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.nabble.com/Overlay-dont-%22refresh%22-with-setcenter-forcezoom.-tf4327410.html#a12324516
</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Nabble.com</a>.<br><br>_______________________________________________
<br>Users mailing list<br><a href="mailto:Users@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div>
<br>
</span></div></blockquote></div><br>