Page 1 of 1

Hosted Angular Webapp loads cached version after deploying update

Posted: Fri Aug 26, 2016 12:44 am
by pcraft@dryforcellc.com

How can I make sure people are loading the currently deployed version of an angular app? I have a lot of users that end up with a broken app because of some of the pages loading cached versions.


Hosted Angular Webapp loads cached version after deploying update

Posted: Fri Aug 26, 2016 6:31 am
by Illya Stepanov

Hello Paul,

Where is your web app hosted? And what kind of updates you're making to your app?


Hosted Angular Webapp loads cached version after deploying update

Posted: Fri Aug 26, 2016 3:07 pm
by pcraft@dryforcellc.com

It's being hosted by Appery using a custom domain. Making pretty much any change. Scope function updates along with layout changes.


Hosted Angular Webapp loads cached version after deploying update

Posted: Tue Aug 30, 2016 10:41 am
by Illya Stepanov

Paul,

This is to inform you that when publishing the app with custom domain we do not use any caching headers when deploying from our side.

Also could you please specify the domain name that you're using for hosting your app or app GUID, we'll check it in our build logs.


Hosted Angular Webapp loads cached version after deploying update

Posted: Tue Aug 30, 2016 1:19 pm
by pcraft@dryforcellc.com

vendorportal.dryforcellc.com


Hosted Angular Webapp loads cached version after deploying update

Posted: Tue Aug 30, 2016 3:45 pm
by Galyna Abramovych

Hello Paul,

We have checked with our system administrators and have got the answer from them. They have confirmed that your web app is Appery.io hosted. Also, they officially confirmed Appery.io doesn't use any resource cashing in its settings.
So, we can only suppose you yourself might have integrated cache in your app. Could you please double check and report?


Hosted Angular Webapp loads cached version after deploying update

Posted: Tue Aug 30, 2016 4:24 pm
by pcraft@dryforcellc.com

I think it is more of a client side caching problem, where they are not pulling the most recent version every time. I have not implemented any caching of any kind. At least not on purpose.