Link to home
Start Free TrialLog in
Avatar of websss
websssFlag for Kenya

asked on

caching web app - load from cache unless a new version is published

I have a web app
Its pretty heavy in size, so caching is good, whenever we do a release we have to clear the browser cache to load the new version
I dont want to force loading of content everytime someone logs in, so i'm wondering what options i have

thinking purely in terms of ways it could work, i'm wondering if i could store a version number in cookies, and it would request version number when loading login page..... if its the same then use the cache, if not, then dont use the browser cache

is this even possible?
Whats the best way to do it?
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial