« Previous Next »

Thread: How to set cache control for static content

Last post 07-15-2009 9:13 PM by anilr. 17 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (18 items) < Previous 1 2

Sort Posts:

  • 12-10-2008, 5:49 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: How to set cache control for static content

    This setting only controls client caching of the static content - so anything you do at the server will not purge the cache - the cache has to be purged at the client.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-11-2009, 10:07 PM In reply to

    • pure.krome
    • Top 100 Contributor
    • Joined on 05-28-2006, 4:45 AM
    • Melbourne, Australia
    • Posts 59

    Re: How to set cache control for static content

     Anilr, is it possible to set the cache control, for specific folders in a website, programatically in a web.config?

    eg. I wish to add a max-age for 

    • /images
    • /css
    • /javascript
    can this be done in a web.config file?
  • 07-15-2009, 9:13 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: How to set cache control for static content

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 2 of 2 (18 items) < Previous 1 2
Microsoft Communities