Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When i try to deploy on a iis (win server 2016), the css and scripts reference apears to load with a format like this:

HTML
/Content/css?v=wChd-3-JBYKv_YuLrKOcuhjyT7f9LDCNaxCkA0qoreg1"


Also a few references that previously configure in the BundleConfig class doesnt apear on deploy. But when i debug locally all works perfect.

Any idea of this? Thanks in advance!

What I have tried:

When i try to deploy on a iis (win server 2016), the css and scripts reference apears to load with a format like this:

HTML
/Content/css?v=wChd-3-JBYKv_YuLrKOcuhjyT7f9LDCNaxCkA0qoreg1"


Also a few references that previously configure in the BundleConfig class doesnt apear on deploy. But when i debug locally all works perfect.
Posted
Updated 26-Apr-18 2:50am

It's just an anti-caching mechanism to ensure the url is unique, it doesn't stop it from working.
 
Share this answer
 
Ok thanks for the comment, i just want to disable it, how can i do it?
Also im having problems with js that is referneced same way but when i try to click it it shows the folder with the js files, could be related with this?
 
Share this answer
 
Comments
F-ES Sitecore 26-Apr-18 9:15am    
You don't want to disable it, if you disable it and update your css then people will see the old css.
tatunga23 27-Apr-18 13:34pm    
Im confused then, because i have this error on one js reference:

Uncaught SyntaxError: Unexpected token <

But locally on my PC works perfect

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900