Asp.net mvc package ends with headers

I recently changed from squishit.framework to an inline package with asp.net mvc and see that the headers of the expiring packages (js and css) expire immediately.

How to set expires headers for them? I thought they should be installed for 1 year automatically?

thank

EDIT: Exipres headers set correctly, my mistake. The problem is that when I refresh the page, I get a status of 200 each time. This should be 304. Only when I do a hard update does the content have to be downloaded again.

If I compare this with squishit.framework, a file is added to the file system from which I can manually set the expires headers in IIS. After the upgrade, I get http 304 not changed until I do a hard upgrade (ctrl + F5)

+3
source share

All Articles