| OLD | NEW |
| 1 <div id="pageData-name" class="pageData">Offline First</div> | 1 <h1>Offline First</h1> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> | 2 |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 Because internet connections can be flakey or non-existent, | 5 Because internet connections can be flakey or non-existent, |
| 6 you need to consider <em>offline first</em>: | 6 you need to consider <em>offline first</em>: |
| 7 write your app as if it has no internet connection. | 7 write your app as if it has no internet connection. |
| 8 Once your app works offline, | 8 Once your app works offline, |
| 9 add whatever network functionality you need | 9 add whatever network functionality you need |
| 10 for your app to do more when it’s online. | 10 for your app to do more when it’s online. |
| 11 Read on for tips on implementing your offline-enabled app. | 11 Read on for tips on implementing your offline-enabled app. |
| 12 </p> | 12 </p> |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 The app has intermittent connectivity, | 304 The app has intermittent connectivity, |
| 305 switching often between online and offline. | 305 switching often between online and offline. |
| 306 </li> | 306 </li> |
| 307 </ul> | 307 </ul> |
| 308 | 308 |
| 309 <p> | 309 <p> |
| 310 Also make sure that the app saves <b>no sensitive user data</b> | 310 Also make sure that the app saves <b>no sensitive user data</b> |
| 311 (such as passwords) on the user's machine. | 311 (such as passwords) on the user's machine. |
| 312 </p> | 312 </p> |
| 313 | 313 |
| 314 <p class="backtotop"><a href="#top">Back to top</a></p> | 314 <p class="backtotop"><a href="#top">Back to top</a></p> |
| 315 | |
| OLD | NEW |