You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ivan Rubin <ia...@mcsla.com.ar> on 2002/08/29 20:31:16 UTC
Enabling client browser to cache content from cocoon
Hello,
I have a pipeline that generates a javascript document. It is referenced
and requested by the client from other dynamically-generated html
documents.
It works fine, but I want to cache the javascript in the client browser
and I can't find the way to do it.
I tried to set the Expires http header at the beggining of the pipeline
with the HttpHeader action but no results.
Any information will be very useful as I couldn't find any information
on the documentation, faqs nor mail-archives.
Thanks,
Ivan Rubin Ayma
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Enabling client browser to cache content from cocoon
Posted by Jan Willem Penterman <jw...@shapers.nl>.
JavaScripts are automatically cached when you place them, or a reference
to them within the <HEAD> tag. For IE clients this will only work when
the 'caching parameter' (Tools -> Internet Options -> Temporary Internet
-> Settings -> check for...) is set to "Automatically". This is NOT what
you want during development btw, but the default setting on an IE setup.
JW
> -----Original Message-----
> From: Ivan Rubin [mailto:iayma@mcsla.com.ar]
> Sent: donderdag 29 augustus 2002 20:31
> To: cocoon-users@xml.apache.org
> Subject: Enabling client browser to cache content from cocoon
>
>
> Hello,
>
> I have a pipeline that generates a javascript document. It is
> referenced
> and requested by the client from other dynamically-generated html
> documents.
>
> It works fine, but I want to cache the javascript in the
> client browser
> and I can't find the way to do it.
>
> I tried to set the Expires http header at the beggining of
> the pipeline
> with the HttpHeader action but no results.
>
> Any information will be very useful as I couldn't find any
> information
> on the documentation, faqs nor mail-archives.
>
> Thanks,
>
> Ivan Rubin Ayma
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>