You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Jan Algermissen <al...@mac.com> on 2011/11/17 09:17:59 UTC
Two-step transformation question
Hi,
I am writing a plugin that does a response transformation in two steps:
GEt URI_1 -> OriginServerResponse -Step1-> TransformResultA -Step2-> TransformResultB -> toClient
I am doing this in two steps because I want ATS to cache TransformResultA but not TransformResultB[1]
I have two questions on this:
Should I solve this by applying two separate plugins or two transform vconnections in one plugin? Are there any examples of the latter?
How do I get ATS to cache TransformResultA but not TransformResultB so that the next request to URI_1 leads to pulling TransformResultA from the cache and invoking only the second step?
Jan
[1] TransformResultB cannot be cached because it depends on other Requests (<esi:includes>)