how to add Expires headers to without changing settings in IIS manager

when I use Y SLOW tool on my page. it shows Grade D on add expiry headers. It shows few images and css files where there are no expiry headers. How can I Add expiry headers to them. I cant change settings on IIS Manager. Is there any other way. i also added the following lines to web.config file.

     <clientCache cacheControlCustom="" cacheControlMode="UseExpires" httpExpires="Thu, 31 Dec 2020 00:00:00 GMT"></clientCache>

but still no use. Is There Any Other Solution?


You can use Response.AddHeader

Response.AddHeader("Expires", "Thu, 01 Dec 2014 16:00:00 GMT")

Need Your Help

Not able to set label text from jquery

javascript jquery

Requirement is to set the label text from the tree view when user select any node. While debugging I am getting hospitalName correctly but it is not setting label text.

Firefox addon: Getting tab from XMLHttpRequest

javascript firefox firefox-addon firefox-addon-sdk

I am trying to associate an XMLHttpRequest with a tab on the browser using the following code: