Searching cached files

caching

#1

Hello. Is there a way to search cached files by some pattern? For example: --data '{“files”:[“http://www.example.com/*/styles.css”].


#2

Not today. Can you give an idea of the use case/ what you are trying to achieve? Our cache is maintained on a per POP basis so depending on the POP a user is accessing the answer may be different.

You can determine the cache status of a single asset from a single POP by doing a curl against the asset (e.g. curl -I https://example.com/css/style.css) and examining the cf-cache-status value.