anaisbetts / SassAndCoffee

SassAndCoffee adds support in ASP.NET MVC to (you guessed it!) Sass/SCSS and CoffeeScript
http://blog.paulbetts.org/index.php/2011/06/06/new-release-sassandcoffee-0-9-now-not-glacially-slow/
Microsoft Public License
199 stars 37 forks source link

Far Future Caching #34

Closed mwrock closed 12 years ago

mwrock commented 12 years ago

It looks as though SassAndCoffee does not currently support far future caching. From what I can tell based on a brief inspection of the source, it currntly sets a max-age header to no longer than 1 hour. I don't see a codeless way to override that. Just curious if I am missing something, if this is intentional, or if its just something no one has gotten to.

kogir commented 12 years ago

I'm not sure of the behavior in the latest NuGet release, but if you're referring to the latest code you're correct. I'll work on moving the caching settings to a cache profile in web.config which can be easily altered.

kogir commented 12 years ago

If you need this immediately, it should be possible with the code in the version2 branch. Check out the web.config file in the WebTest project and the PipelineHandler in the ASP.Net project to see how it works.

kogir commented 12 years ago

Fixed in v2.0

mwrock commented 12 years ago

nice. great turnaround!