I'm using 2.1-dev and for the life of me, I can't figure out how to get
the expires parameter to work. I tried following the instructions on
the web site (http://xml.apache.org/cocoon/performancetips.html), but
they had no effect.
I must say that the instructions are a little ambiguous since
<map:pipeline[s]> exists in both <map:components> and on its own (the
current topic of discussion on the developer list). I made the
assumption that the expires parameter goes into the elements on their
own as a global expires doesn't make much sense to me.
However, after putting in items such as
<map:pipeline>
<map:parameter name="expires" value="access plus 1 minutes"/>
<map:match pattern="debug.xml">
<map:generate type="request"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
I get no enhanced behavior. No expiration header gets set -- and it's
easy to see what headers get set with that particular pipeline. Should
I file a bug or am I missing something important?
- Miles
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
- RE: "expires" parameter Miles Elam
- RE: "expires" parameter Carsten Ziegeler