How to disable caching when developing custom UI views
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
I'm changing UI files on my sandbox main server (management node) but I do not see recent changes.
Cause
Content is cached, either server-side or browser-side
Resolution
1) Make sure system property 'APS development mode' is enabled in System > Settings > System Properties
2) Disable caching in browser you use for development or use force refresh.
To disable cache in Firefox:
open 'about:config'
- set to 'false' the caching switches: 'browser.cache.disk.enable', 'browser.cache.memory.enable', 'browser.cache.offline.enable'.
To disable cache in Chrome:
Open
Development Tools
click on settings wheel in upper right corner of devtools to open its settings
- check
Disable cache (while DevTools is Open)