> Hi
>
[quoted text clipped - 3 lines]
> other files (for e.g. .js, .img files) so that it dosent gets
> downloaded everytime.
Sure. Simply mark the files as cacheable in your web server using
appropriate HTTP caching headers, e.g.
Cache-Control: public, max-age=86400
(any cache may store the XSL and consider it fresh for 86400 seconds,
i.e. one day)
Note that in IIS you can only set headers per directory, in which case
you'll need to put all your XSL files in a common directory and set the
desired HTTP headers for this directory.
Cheers,

Signature
http://www.joergjooss.de
mailto:news-reply@joergjooss.de
Rahul Agarwal - 04 Jul 2005 01:09 GMT
Hi Joerg
Thanks for the reply. However I am still unable to cache the .xsl files even
after adding the header you suggested. I think the problem is IIS is sending
a header "Pragma: no-cache", do you know how I can remove this header. I
can't seem to find this header being explicitly added on the .xsl
files/directory.
Please advice
Thanks
rahul
>> Hi
>>
[quoted text clipped - 17 lines]
>
> Cheers,
Joerg Jooss - 04 Jul 2005 20:50 GMT
> Hi Joerg
>
[quoted text clipped - 3 lines]
> remove this header. I can't seem to find this header being explicitly
> added on the .xsl files/directory.
Are you sure it's set by IIS? I don't think so. Also note that Pragma:
no-cache is a meaningless for properly implemented HTTP 1.1 clients.
Cheers,

Signature
http://www.joergjooss.de
mailto:news-reply@joergjooss.de