Closed hnakamur closed 8 years ago
This is probably why I see only misses even though the cache clearly serves to content.
Yes, I think so.
I also created a plugin for the Apache Traffic Server. Apache Traffic Server stores cache objects with associated the response headers, just like httpcache
here.
The object store indexes cache objects according to URLs and associated headers
And I found I need to overwrite the X-Cache
header, not just adding it.
https://github.com/hnakamur/trafficserver-add_cache_lookup_status_header-plugin/blob/0.1.1/add_cache_lookup_status_header.c#L82-L108
When I just added the X-Cache
header, I saw two X-Cache
headers, one with the value MISS, and one with the value HIT.
HttpCache looks really neat but I am concerned about PR's which look good yet lay abandoned for week or more at a time!
Is this project being actively maintained or is it abandonware?
Love, Sleaze
It's not abandonware, I'm hoping to have some time to more actively develop it soon.
Wonderful, thanks for the info! Looking forward to a bright future here!!!
First of all, thanks for a nice software!
I ran the cli example and thought X-Cache header was not set properly. This pull request fix the problem.
Without this fix:
server logs
With this fix:
server logs