This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed

Settings page, page caching

UrandayUranday Member
edited February 2016 in Archive
For all developers out here. The settings page is being cached by the browser. This can be very frustrating when you change stuff and it does not propagate. Even worse, it could let to weird behavior when you release your page.....

To disable this behavior, add <meta http-equiv="Cache-Control" content="no-store" /> to your index.html 

Patrick

Comments

  • In general, for production you want to cache as all data is loaded using ajax.
    For development adding meta tag is a good workaround.
  • Thing is then with a release you could get width behaviour because people could get an old page. Or is there a way to prevent this? 
  • This is called cache busting. Sounds like an issue with homey. We need cache busting per app version.
This discussion has been closed.