trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harrison <>
Subject Re: how to cache object with different urls (with question mark) just once?
Date Mon, 21 Mar 2011 17:52:35 GMT
I've been working on a plugin that does just that, but it hasn't yet
been updated to work with anything past 2.1.4 (It's on my todo list).
However, I seem to remember somebody else also working on this also
which may be further along. Let me know if you'd be interested in the
code for the plugin.



On Mon, Mar 21, 2011 at 1:46 PM, Leif Hedstrom <> wrote:
> On 03/21/2011 11:13 AM, Conan wrote:
> hi users,
> I have a object to cache. This object's url is like
> "". The parameters after question mark(?) is
> different and dynamic, but the object is identical so it's better to cache
> only one copy of the object.
> What I except is: ATS ignore the parameters in url and serve the object (if
> cached), or pass the complete url to original server if the object is not
> cached.
> When I enable "proxy.config.http.cache_urls_that_look_dynamic", it seemed
> ATS treated these urls as different objects. If I disable it, ATS did not
> cache any urls with question mark.
> Any suggestions? Or what kind of plugin could I write to support that?
> You'd have to write a plugin that calculates a different cache key, based on
> your "normalization" rules. In your case, presumably only the host and the
> path.
> -- Leif

View raw message