Solved

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

Posted on 2015-02-19
1
72 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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

617 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