Page 1 of 1

Bootstrap app - no-cache

Posted: Tue May 30, 2017 3:52 pm
by Dupdroid

How can I implement no-cache in my Bootstrap app? When I make changes it doesn't reflect unless I refresh.


Bootstrap app - no-cache

Posted: Tue May 30, 2017 6:55 pm
by Serhii Kulibaba

Hello,

Sorry, your question is not clear. Could you rephrase it? Does it cache the Visual editor or the result application?


Bootstrap app - no-cache

Posted: Tue May 30, 2017 7:12 pm
by Dupdroid

The bootstrap application I develop with Appery.


Bootstrap app - no-cache

Posted: Wed May 31, 2017 5:56 pm
by Serhii Kulibaba

Does it cache data, which you inputted from the previous session(The app was closed and opened again)?


Bootstrap app - no-cache

Posted: Wed May 31, 2017 6:12 pm
by Dupdroid

As an example: If I change a label component that displays my app version from 1.4.5 to 1.4.6 then when I run the app again it doesn't reflect the change unless I do a browser refresh. The same case when I publish an app and re-run it in a new tab or new window.


Bootstrap app - no-cache

Posted: Wed May 31, 2017 7:38 pm
by Serhii Kulibaba

That is a correct behavior of the platform. Each your change has to reflect to the final app after refreshing the browser. It can't "understand" you've changed the application or not


Bootstrap app - no-cache

Posted: Wed May 31, 2017 8:44 pm
by Dupdroid

Hence my question, how can I implement a no-cache meta tag/mechanism to make sure that the app always loads the latest code from the server.


Bootstrap app - no-cache

Posted: Wed May 31, 2017 9:07 pm
by Serhii Kulibaba

Could you please provide us with exact steps to reproduce this issue/problem?