Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We are having a problem with ClientDependency and would like to disable it or remove it. We would rather have separate JS and CSS files in production.
Further setting debug to true in web.config in production is a problem.
The ClientDependency.config suggests there may be a way to enableCompositeFiles="false" but there is no example and various attempts have not worked.
Does someone know of a way to disable ClientDependency?
Thanks.
in web.config change debug=true
<compilation defaultLanguage="c#" debug="true" batch="true" targetFramework="4.7.2" numRecompilesBeforeAppRestart="50" />
Thank you for your response, but as I mentioned in my original post, we do not want debug="true" in the compilation section of the web.config on our production server.
We would rather uninstall it or disable it completely if possible.
sorry missed your initial requirement I think you can't uninstall it, Umbraco uses it internally,
if it is on your front end you can just register css like in regular HTML
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Disable ClientDependency in Production
We are having a problem with ClientDependency and would like to disable it or remove it. We would rather have separate JS and CSS files in production.
Further setting debug to true in web.config in production is a problem.
The ClientDependency.config suggests there may be a way to enableCompositeFiles="false" but there is no example and various attempts have not worked.
Does someone know of a way to disable ClientDependency?
Thanks.
in web.config change debug=true
Thank you for your response, but as I mentioned in my original post, we do not want debug="true" in the compilation section of the web.config on our production server.
We would rather uninstall it or disable it completely if possible.
sorry missed your initial requirement I think you can't uninstall it, Umbraco uses it internally,
if it is on your front end you can just register css like in regular HTML
is working on a reply...