Whenever I log into my Gmail account, I notice that changes are automatically implemented without the need to refresh the page or clear cache. However, with my web apps, users often have to press ctrl+f5 in order to see any updates.
Is there a way for me to achieve the same seamless updating process as other web apps, where changes are reflected instantly without requiring manual intervention?
The issue seems to be related to how html content is loaded. I use requireJS to load js, css, and html sections based on AngularJS routes. For example, if I visit index.php#/users/edit, the corresponding users/edit.html file is loaded. Despite making changes to HTML/CSS/JS files, they do not appear unless cache is cleared or ctrl+f5 is pressed.