You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/docs-pages.html
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,20 @@ <h2>Redirects and linking to directories</h2>
197
197
198
198
<p>Learn more about the technical details of the navigation model and <ahref="docs-navmodel.html">Ajax, hashes and history</a> in jQuery mobile.</p>
199
199
200
+
<h2>Automatically Pre-fetching Pages</h2>
201
+
<p>Any HTML anchor element may specify that its page be prefetched by jQuery Mobile through the use of a data-prefetch attribute. After pagecreate, jQuery Mobile will
202
+
automatically find all links in a page that have an attribute of <code>data-prefetch</code> and automatically load that page so it's available as soon as the user
203
+
navigates to it.</p>
204
+
205
+
<p>Pre-fetching links will naturally cause additional HTTP requests that may never be used, so it's important to use this feature only in situations where it's highly
0 commit comments