-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensuring web.config dev/release versions only differ in debug/caching…
… situations
- Loading branch information
Showing
3 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,11 +226,6 @@ | |
"lodash": "^4.15.0", | ||
"supports-color": "^3.1.2" | ||
} | ||
}, | ||
"npm:[email protected]": { | ||
"main": "unexpected.js", | ||
"dependencies": {}, | ||
"jspmPackage": true | ||
} | ||
} | ||
} | ||
|
86fa314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mawtex having clientCache set to 30 days in Debug environment can be a pain when working on updating some design or javascript :(
86fa314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So true - but I honestly could not find some number that would make everyone happy. I'm thinking that devs actively working with design / scripting will actively refresh / disable cache, no matter what while everyone else will be happy not to reload things. Anyway, this is a dev config, so we can go low - got a magic time span?
86fa314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mawtex IMHO a dev-config shouldn't have things like clientcache, compression etc. at all, since its for development, just like you also set FullPageCaching to 0 in Debug and 60 in Release
86fa314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For debug I've pushed "NoControl" (default, so what we had before)