Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html><head><title>Caching Solution w/ URL Versioning and Cache Control</title></head>
<body>
<center>
<h1>Caching Solution w/ URL Versioning and Cache Control</h1>
</center>
<p>
Premise:
<p>
If EVERY THING was cached forever accept the bootstrap.js, and each version of the app included the version number in the url, then older version's bootstrap.js could client-side forward the full URL to the current version.
<p>
Example:
<p>
<ul>
If the bookmarked URL were:
<p>
<ul><a href="http://localhost:8080/CSidea/v1#DeepLinkStuff" target="_blank">http://localhost:8080/CSidea/v1#DeepLinkStuff</a></ul>
<p>
but the current version was "v2", then the "v1" bootstrap.js would forward to:
<p>
<ul><a href="http://localhost:8080/CSidea/v2#DeepLinkStuff" target="_blank">http://localhost:8080/CSidea/v2#DeepLinkStuff</a></ul>
<p>
</ul>
Demo...
</body>
</html>

Commits for litesoft/trunk/Documents/ScarVersioningCaching/10.html

Diff revisions: vs.
Revision Author Commited Message
412 GeorgeS picture GeorgeS Thu 18 Aug, 2011 00:29:35 +0000