How can i purge server cache in one go not by file name?

Missing title. Missing body.

The fastest way would be to restart the Wowza server and not reload the cached items at server startup time. I assume that the server restart is something that you would like to avoid.

As you probably are aware, you can purge a specific Item from MediaCache using the Wowza REST API. You can get a list of all the cached assets and you can remove a specific asset from the cache. I will have to test and check with our engineers if it is possible to specify multiple comma separated assets when making the request to the REST API (something like …/flushItemFromCache?filename=http/asset1.mp4,http/asset2.mp4,http/asset3.mp4,…)

I will let you know as soon as I have additional info.

Here is the article showing how you can get a list of all Media Cache cached items and how to remove an item from the local cache, using the Wowza REST API:

https://www.wowza.com/docs/media-cache-query-examples#getassetlist

Zoran

I have just checked with our engineers and it looks like it is not possible to clear all the cached items in one go using a single APi request. There is a product backlog request already created to have this option available, but at this time there is no timeframe set on when this will become available.