No, this isn't possible.  You can clear the whole cache, execute api to expire an individual URL, prefix the url with {refresh=true}http://example.com/myfile.wav to force it to discard the cached file,  have your server set Cache-Control: max-age= to set a reasonable expiration, or change the default expiration in the config if there is no Cache-Control set.  Best practice is to rename the file if you want to ensure immediate recaching.

Chris


On Fri, Feb 5, 2021 at 10:46 AM Yusuf KALAY <ykalayy7@gmail.com> wrote:

Hi everyone,
I want to delete multiple http caches from freeswitch in one command instead of one command for each file. Is there any way to do that? I tried a separate the files with '&' or ' ', but it does not work. Like below: 

->http_remove_cache http://example.com/media/hello_world.wav&http_remove_cache http://example.com/media/hello_world_2.wav
Or
->http_remove_cache http://example.com/media/hello_world.wav&http://example.com/media/hello_world_2.wav

Regards Yusuf

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com