Something to remember about cache manifests is that the new resources
will be available not when the user loads the app with the new
manifest, but the following time the app is launched. It's akin to
opening desktop software and being prompted to install updates. Those
updates are in place only after you relaunch. Here's a great
explanation of this and pretty much everything else you need to know
about cache manifests: http://building-iphone-apps.labs.oreilly.com/ch06.html

On Jan 21, 5:05 am, teledemic <[email protected]> wrote:
> Thanks Greg - good point! Here is the manifest:
> -----
> CACHE MANIFEST
>
> iui/cancel.png
> iui/backButton.png
> iui/selection.png
> iui/pinstripes.png
> iui/iuix.js
> iui/listArrow.png
> iui/toggleOn.png
> iui/listArrowSel.png
> iui/toolButton.png
> iui/toolbar.png
> iui/iuix.css
> iui/blueButton.png
>
> index.php?date=2010-01-20
> index.php?date=2010-01-21
> index.php?date=2010-01-22
> index.php?date=2010-01-23
> index.php?date=2010-01-24
> index.php?date=2010-01-25
> index.php?date=2010-01-26
> -----
>
> The last 7 lines are auto-generated each night. These are the subpages
> linked to by the list items on the main page. So the expected behavior
> is that, on a given day, all the info for the current week is
> downloaded and cached. For the rest of the day, the manifest stays the
> same and the iPhone keeps using the cached pages. The next day, when
> visited, the manifest change is noticed and the cache is refreshed
>
> On Jan 19, 10:43 am, gsb <[email protected]> wrote:
>
>
>
> > One thing is the DocType:
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > <html xmlns="http://www.w3.org/1999/xhtml"; manifest="btown.manifest">
>
> > Instead, you should use the HTML5 DocType:
> > <!DOCTYPE html>
> > <html lang="en" manifest="btown.manifest" >
> > <head>
>
> > Next, I suggest that you include a copy of your manifest to insure
> > that you make correct use of the options.
>
> > Greg
-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to