Try Now
More in this section

Forums / Deployment / Expires Headers

Expires Headers

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    14 Feb 2011
    Link to this post
    The expires headers I have in my web.config don't seem to do anything...does the built-in cache change\override this at all by any chance?

    My monthly bandwidth ballooned out of control with no expires headers set....
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    16 Feb 2011
    Link to this post
    Hello Steve,

    I have tested this configuration on my local IIS 7.5. I have set expires headers as in the attached image. This in turn produced the bellow configuration in my web.config:
        <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
    <httpProtocol allowKeepAlive="false" />

    Please review the headers inspected in the Net tab of Firebug attached in the second image.

    Can you please confirm that those are the settings which you have applied?

    Best wishes,
    Radoslav Georgiev
    the Telerik team
2 posts, 0 answered