« Previous Next »

Thread: Controling Cache Control Headers For Static Files in a Shared host Environment

Last post 08-15-2008 9:00 PM by waleedfi. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 08-15-2008, 11:13 AM

    • waleedfi
    • Not Ranked
    • Joined on 08-15-2008, 11:08 AM
    • Posts 2

    Controling Cache Control Headers For Static Files in a Shared host Environment

    Hi, is it possible to control cache control headers for static files (images, css, js .. etc) on a shared host? If possible, how this can be done? Is it by using delegated administration or by handling requests in an ASP.NET module or handler?

    Thanks a lot...
     

  • 08-15-2008, 11:41 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-13-2006, 11:02 PM
    • Redmond, WA
    • Posts 863

    Re: Controling Cache Control Headers For Static Files in a Shared host Environment

    Hi Waleedfi,

    There are bunch of properties in system.webServer/staticContent section under element clientCache which lets you control cache-control response header for static content. See this thread for commands to set the properties. You can see list of properties available in %windir%\system32\inetsrv\config\schema\iis_schema.xml (look for /staticContent).

    Thanks,
    Kj

    Follow me on twitter at http://twitter.com/kjsingla
  • 08-15-2008, 9:00 PM In reply to

    • waleedfi
    • Not Ranked
    • Joined on 08-15-2008, 11:08 AM
    • Posts 2

    Re: Controling Cache Control Headers For Static Files in a Shared host Environment

    Thanks a lot for your answer, I'm going to have a look on this ... 

Page 1 of 1 (3 items)
Microsoft Communities