I am in need to modify a CSS file, after modification it is working only in debug mode. Client dependency is enabled on the site and hence when I set debug=false on the web.config the changes are not reflecting on the site.
I went through the forums and followed all recommendations, but nothing works.
In the ClientDependency.config file, I increased the version number.
Also the path looks fine.
Deleted everything under App_Data\TEMP\ClientDependency folder and restarted the site. Clearing browser cache and ctrl+F5 nothing works.
Are you sure that your css or js bundled with Clientdependency ?
you see that instaed off css appears /DependencyHandler.axd ... cdv=1566539620 for debug=false mode and /css/xxx.css?cdv=1566539620
for debug=true mode
I see in some upgrades of Clientdependency what it change section registration in web.config, verify what it
I am using Umbraco 8.10.1. As Navin, I do not see the changes in the CSS reflected in the site.
I remember other CMSs have a key in the web config that forces the site to reload all the CSS. Has Umbraco such a key, or do you know how can I do? Do the solutions for version 7 work on version 8?
Changes in CSS file is not reflecting on the site
Hi All,
I am working with a Umbraco 7.2 version website.
I am in need to modify a CSS file, after modification it is working only in debug mode. Client dependency is enabled on the site and hence when I set debug=false on the web.config the changes are not reflecting on the site.
I went through the forums and followed all recommendations, but nothing works.
In the ClientDependency.config file, I increased the version number.
Also the path looks fine.
Deleted everything under App_Data\TEMP\ClientDependency folder and restarted the site. Clearing browser cache and ctrl+F5 nothing works.
Please advise to sort out this issue.
Thanks.
you should change version in ClientDependency.config, for example increase it by one
Hi Yakov,
Yes, I have already increased my Clientdependency value, but still it is not working.
Before increment: clientDependency version="1566539619" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco">
After increment: clientDependency version="1566539620" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco">
Are you sure that your css or js bundled with Clientdependency ? you see that instaed off css appears /DependencyHandler.axd ... cdv=1566539620 for debug=false mode and /css/xxx.css?cdv=1566539620 for debug=true mode
I see in some upgrades of Clientdependency what it change section registration in web.config, verify what it
Yes, Yakov. It seems like css and js are bundled with Clientdependency, but, the new updated CSS hasn't reflected on the site.
In the web.config, Clientdependency path defined properly.
Hi All,
Anyone faced this issue on 7.2 version? Any suggestions will be much helpful for us.
Thanks in advance!!
Hey Navin,
v=1.121
and check is the same version is showing in the network request?Regards
Dhanesh :)
Hi,
I am using Umbraco 8.10.1. As Navin, I do not see the changes in the CSS reflected in the site. I remember other CMSs have a key in the web config that forces the site to reload all the CSS. Has Umbraco such a key, or do you know how can I do? Do the solutions for version 7 work on version 8?
Thanks.
recycling the app pool in IIS worked for me in v8 with no config changes, have you tried that?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.