Solved

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

Posted on 2015-02-19
1
70 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Web Development 6 68
Getting robots.txt Error 9 57
I need help writing Unit Tests for my ASP.Net MVC application 5 40
ASP.NET VB code for check and insert in a table 4 45
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
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.

739 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