trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Is there a way of knowning when ATS deletes something from the disk cache?

Open amoghyermalkar123 opened this issue 2 years ago • 4 comments

I have a case where I want to keep record of everything that is in the disk cache. So I wanted to know are there any TS API's or plugins that would let me know when something is cached or removed from the cache?

amoghyermalkar123 avatar Aug 16 '22 09:08 amoghyermalkar123

I don't think there is a way. Is your use case similar to https://github.com/apache/trafficserver/issues/8984 ?

mlibbey avatar Aug 17 '22 01:08 mlibbey

No @mlibbey, it's a bit different. I want to keep an active record of what's in the cache. So i want to know when something is added or removed from the cache.

amoghyermalkar123 avatar Aug 17 '22 08:08 amoghyermalkar123

@amoghyermalkar123 We don't have an API to know when an object is removed from cache, when the cache wraps.

bryancall avatar Nov 02 '22 23:11 bryancall

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

github-actions[bot] avatar Nov 03 '23 01:11 github-actions[bot]