cache icon indicating copy to clipboard operation
cache copied to clipboard

How to set custom http header when the cache hit?

Open BennyThink opened this issue 4 years ago • 2 comments

Hi, I wonder if I can set a customer header to inform the client that the cache has been hit. Is this even possible? I didn't find any resolutions through documents and issues. I'll be grateful if there are some workarounds.

Thanks!

BennyThink avatar Jun 28 '20 09:06 BennyThink

I'd like to know how to do this as well. I looked thru the docs and examples, and the linked PR, but I don't see anything that explains how to do it.

johnjeffers avatar May 30 '23 23:05 johnjeffers

Maybe use fork mentioned in above PR.

BennyThink avatar Oct 17 '23 09:10 BennyThink