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:[EMAIL PROTECTED]] 
> Sent: donderdag 29 augustus 2002 20:31
> To: [EMAIL PROTECTED]
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 


---------------------------------------------------------------------
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]>

Reply via email to