When ever i for example make changes to a js file, these changes are not picked up on production, unless i set debug to true and after revert it back to false.
This is pretty irritating, cant this be done automatically somehow?
Its for the assets used on the frontend.
According to the docs for umbraco 11, i use this approach (https://docs.umbraco.com/umbraco-cms/fundamentals/design/stylesheets-javascript#bundling-and-minification-for-javascript-and-css) for adding styles and scripts. As illustrated, i even tried to change the cache of the js file, by adding this at the end ?v=1, but that didnt help.
Umbraco 11 JS changes not picked up
Hi,
I have a Umbraco 11 site.
On prod. debug is set false, as it should be.
When ever i for example make changes to a js file, these changes are not picked up on production, unless i set debug to true and after revert it back to false. This is pretty irritating, cant this be done automatically somehow?
Hi Peter
Can you provide some more info.
Is it a js file used in a backoffice plugin or a js file used in the front end of your website ?
If it's the last how are you rendering it.
Hi,
Its for the assets used on the frontend. According to the docs for umbraco 11, i use this approach (https://docs.umbraco.com/umbraco-cms/fundamentals/design/stylesheets-javascript#bundling-and-minification-for-javascript-and-css) for adding styles and scripts. As illustrated, i even tried to change the cache of the js file, by adding this at the end ?v=1, but that didnt help.
Hi Peter,
Which settings do you have in https://docs.umbraco.com/umbraco-cms/reference/configuration/runtimeminificationsettings
Dave
Wow, those settings i have overlooked, since this i my first vers 11.
Thanks, thats proably what i needed.
Ill check it out.
is working on a reply...