Solved

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

Posted on 2015-02-19
1
68 Views
Last Modified: 2015-03-09
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?
0
Comment
Question by:websss
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40621708
You should be able to implement what you want using appCache.  While the intended purpose of appCache is to allow offline use of apps, it should work for this because it is basically a dated manifest of the app, and the server can trigger updates.

Details of how it works:
https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache

Cd&
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question