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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org