Thursday, December 12, 2019

html - How to cache whole web page?

Is there any method to cache an entire web page so that when i request for same url again in does not load content from server?


No problem if it does not update contents, and i don't wish to use websql/indexDB etc.


And even i didn't found Manifest File much useful.


Scenario:


Let consider that my website had 3 pages:


page1.html
page2.html
page3.html


I can visit to any of these pages from any pages.


Suppose if i am in page1.html-> i click a link and go to page2.html. Now if i click a link from page2.html to goto page1.html the hole page should not load from server rather it should be capture during first visit and same thing will be displayed when i revisit the url.


My pages can be extends to any number.


Is it possible in any of the way?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...