Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

1.0rc1 doesn't work with domcache = true

  • Loading branch information...
commit 5c6e89a3c8c40303fed62d7f2b5f776a61d9a948 1 parent ed32724
@dgeb authored
Showing with 10 additions and 8 deletions.
  1. +4 −2 README.md
  2. +2 −2 a.html
  3. +2 −2 b.html
  4. +2 −2 c.html
View
6 README.md
@@ -5,9 +5,11 @@ https://github.com/jquery/jquery-mobile/issues/2520
Please see the branches of this project to see the different behaviour.
-## jquery-mobile 1.0b1
+## jquery-mobile 1.0rc1 - with DOM caching
-In this branch, pages are cached, but are removed from the cache as soon as another one is shown. This strategy works well.
+In this branch, pages are cached and are removed from the cache as soon as another one is shown. This strategy, which worked in 1.0b1, doesn't work in 1.0rc1. A blank page will be shown when navigating back to a page that's already been shown.
+
+For example, load Page A, then Page B, then Page A again (it won't be loaded).
## MIT LICENSE
View
4 a.html
@@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page A</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
+ <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
+ <script src="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.js"></script>
<script src="app.js"></script>
</head>
<body>
View
4 b.html
@@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page B</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
+ <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
+ <script src="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.js"></script>
<script src="app.js"></script>
</head>
<body>
View
4 c.html
@@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page C</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
+ <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
+ <script src="http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.js"></script>
<script src="app.js"></script>
</head>
<body>
Please sign in to comment.
Something went wrong with that request. Please try again.