Reputation: 2493
I migrated MVC3 to MVC4 and added mobile views for my website using JqueryMobile. To "improve" performance i am using Bundles to compres *.js and *.css files. everything works fine.
After deploying (system nightly build) i saw that bundle .js and .css files are being reloaded every time without using cache.
However, if i run this page on localhost host, page load size decrease from ~1mb to 450kb. project webconfig Debug is set to false
What could affect it. Is it posible to change directly cache-control to public?
Upvotes: 0
Views: 705
Reputation: 638
Looks like this could well be an issue in Web Optimisations 1.1.2/1.1.3. Maybe reverting to 1.1.1 can fix the issue as suggested in the following post http://aspnetoptimization.codeplex.com/workitem/127
Upvotes: 3