<div dir="ltr"><div><div><div>FYI: FS-7323 was just committed to master that provides new ways to invalidate cached files.<br><br></div>new API: http_cache_remove &lt;url&gt;<br></div>new file param: {refresh=true}<br><br></div><div>Also- if you want your cached files to be refreshed sooner, set the expiration server side with max-age or change the default config if max-age is not set.<br></div><div><br></div>Chris<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 7, 2015 at 7:52 AM,  <span dir="ltr">&lt;<a href="mailto:cmrienzo@gmail.com" target="_blank">cmrienzo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I recommend giving all files and their updates unique names.  If you can&#39;t go that, removal from the file system will trigger a new download.<br>
<div><div class="h5"><br>
<br>
&gt; On Feb 7, 2015, at 04:19, Neil Patel &lt;<a href="mailto:neilp@cs.stanford.edu">neilp@cs.stanford.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; We are using mod_http_cache to store remote media for playback over IVR (lua). Once in a while the file at source gets updated/overwritten, so we want FS to be able to detect an invalid cache entry and re-download from the given URL.<br>
&gt;<br>
&gt; Is there a way to dirty/clear a single http_cache entry? I don&#39;t believe there is a checksum mechanism, but that would do the trick. Is there a way to force-download a URL? Neither http_pre_fetch nor http_get does this. I don&#39;t see any way in the docs, so am considering managing this independently and manually removing files from the http_cache folder when we overwrite a source file.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Neil<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>