cachingumbracoumbraco7client-dependency

Umbraco 7.2.0 - grid.editors.config.js is cached and will not update


I have created a new grid editor, and have deployed it to my production server. When on my development machine, a change to the grid.editors.config.js is reflected immediately.

However, on my production server, a change to grid.editors.config.js has no effect.

After some research, I have found that the issue is probably the client dependency cache. I have tried the following:

What am I missing? When I add a query string, ie. https://mywebsite/config/grid.editors.config.js?v=1 then the changes are shown, which means the file has definitely updated on the server.

What do I need to do to update the file?


Solution

  • As it turns out, the issue was caused by a third party that provides DDoS protection to the site - content was cached via the third party and so changes to files were not being reflected.