Last post Apr 10, 2014 10:21 PM by markfitzme
Oct 07, 2013 03:45 PM|persiax|LINK
I bundles a css file and encrypted the link like below:
before then I called css file like:
<link herf="~/Styles/Site.css" rel="stylesheet" type="text-css">
now how can i use the css file that encrypted ?
Apr 10, 2014 10:21 PM|markfitzme|LINK
This isn't an encrypted link. The v= parameter stands for version. It's there so when you update your bundle the v= information changes forcing the browsers to re-cache your bundled scripts.
Usually this is done with the bundle manager, just like you did with the scripts bundle and then you use the @Styles.Render("~/bundle/css") or whatever your bundle name is.
A simple article on this is at: http://www.programering.com/a/MjM4ADMwATg.html
And yes, before anyone mentions it I just realised I responded to a 7 month old post.