HTML5 cache manifest and prefetching?

Well, the spec says "all files," without any exceptions for html files, so I figure it works for html files just like any other, it gets taken from the cache, not the server. However, I have not done any testing to confirm this. I would do the following: Create the following cache manifest file: CACHE MANIFEST /page1.

Html /page2. Html /page3. Html /page4.

Html Include it in each of the four cache manifest files. Then: Visit page1. Html Edit page2.

Html to make it different than before you visited page1. Html Visit page2. Html See which version you get Make sure you try it out on all browsers.

I'll be interested to see your results.

Well, the spec says "all files," without any exceptions for html files, so I figure it works for html files just like any other, it gets taken from the cache, not the server. However, I have not done any testing to confirm this. I would do the following: Create the following cache manifest file: CACHE MANIFEST /page1.

Html /page2. Html /page3. Html /page4.

Html Include it in each of the four cache manifest files. Then: Visit page1. Html Edit page2.

Html to make it different than before you visited page1. Html Visit page2. Html See which version you get.

Make sure you try it out on all browsers. I'll be interested to see your results.

I think it takes it from the manifest file even if you are online :). Can't you try it out by uploading a file and then navigating to the page?

One thing I'm not fully grasping is if the cache manifest is also acting as a prefetch when it is online for all the files listed. So what will happen is I visit /page1. Html first, and when I'm online my browser will know to cache pages 2-4 also.

And when I'm disconnected and I visit pages 2-4 everything will load just fine because it was already cached. QUESTION: If I visit /page1. Html, and I'm STILL connected online, and visit /page2.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions