Skip to content

Client caching on IIS 6 seems to be not working #7

@herao67

Description

@herao67

When I minify CSS files with
OnRequest.ForCss("/stylesheet/PB.css").Compact.File("/stylesheet/PB.css").Configure();
The response HTTP headers are like this:

Cache-Control no-cache
Content-Type text/css
Date Mon, 23 Jul 2012 14:12:31 GMT
Expires -1
Pragma no-cache
Server Microsoft-IIS/6.0
Transfer-Encoding chunked
X-AspNet-Version 4.0.30319

which results in the browser always requesting the CSS file (and js files as well). I looked in the decompiled code, and it seems you only care for the configuration of IIS 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions