[Freeswitch-users] invalidating entries in http_cache?

cmrienzo at gmail.com cmrienzo at gmail.com
Sat Feb 7 15:52:59 MSK 2015


I recommend giving all files and their updates unique names.  If you can't go that, removal from the file system will trigger a new download. 


> On Feb 7, 2015, at 04:19, Neil Patel <neilp at cs.stanford.edu> wrote:
> 
> Hi All,
> 
> 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.
> 
> Is there a way to dirty/clear a single http_cache entry? I don'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'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.
> 
> Thanks,
> Neil
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list