Rob Hardy
Rob Hardy

Reputation: 1821

MVC 4 Bundling File Changes - Does it Recompile? Does it lose session?

MVC 4 preaches the usefulness of minifying and bundling your javascript and css resources.

Does anybody know if changing a bundled file will either cause a recompile or drop currently active sessions the same way as changing localized resource would?

Upvotes: 1

Views: 312

Answers (1)

Mike Perrenoud
Mike Perrenoud

Reputation: 67898

Well, since bundled files are content files like CSS and JavaScript files, changing one of those is certainly not going to require a recompile nor will it drop active sessions. However, it will require clients to download a new version of the bundle on subsequent requests.

Upvotes: 3

Related Questions