<html><body bgcolor="#FFFFFF"><div>Are you talking about refreshing immediately when the mapbook is updated or just making sure that when the user reloads that they see the most recent mapbook?</div><div><br></div><div>The first would be tricky and probably involve message queues (AMQP).</div><div><br></div><div>The latter was done once upon a time by adding a dummy parameter to the request (moosetime) that was different every time, which effectively defeated caching for that file.</div><div><br></div><div>I don't know that apache will help since now php is serving the mapbook. &nbsp;Maybe getmapbook.php could set Etag and/or other pragma cache headers. &nbsp;This doesn't mean browsers will follow them though.</div><div><br></div><div>The part that puzzles me is why sometimes on reload the browser updates the mapbook and sometimes doesn't. &nbsp;However if you browse to the mapbook URL it will generally request the mapbook again, after which a geomoose reload will reflect the updated mapbook.&nbsp;<span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">This trick is more useful for developers than users though.</span></div><div><div><br></div></div><div><br>On Feb 24, 2012, at 15:50, Mark Volz &lt;<a href="mailto:MarkVolz@co.lyon.mn.us">MarkVolz@co.lyon.mn.us</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div>&nbsp;</div>
<div>How can I force clients to refresh GeoMOOSE whenever changes are made to the mapbook?&nbsp; I would like to cache as much of the site as possible, but I also want to make sure users will see new changes.&nbsp; Does anyone have any strategies to do this when using
Apache web server?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>&nbsp;</div>
<div>Mark Volz</div>
<div>GIS Specialist</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Geomoose-users mailing list</span><br><span><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></span><br></div></blockquote></body></html>