Recently, I have a project that requires using iframe to call a page that changes every day. Later, I wondered whether iframe would cache the page, so I wrote a demo to demonstrate it. The result is as follows: If the src of the iframe is a static page, it may be cached because static pages have 200 and 304 status codes. If the src of the iframe is a dynamic page, it will not be cached, because dynamic pages are all 200 status If the src of the iframe is a pseudo-static page, it is necessary to analyze whether the pseudo-static page will have a 304 status. If so, it will be cached. I hope this helps others who encounter the same problem. |
<<: JS ES new features template string
>>: Add unlimited fonts to your website with Google Web Fonts
<br />Hello everyone! It’s my honor to chat ...
Table of contents Written in front router.json Ro...
1. Introduction The difference between row locks ...
What are the lifecycle functions of React compone...
What is the reason for the Last_IO_Errno:1236 err...
Introduction react-i18next is a powerful internat...
They are all web page templates from the foreign ...
A few days ago, the library said that the server ...
Formation of the grid system In 1692, the newly c...
1. Download the MySQL installation package First ...
The default varchar type in MySQL is case insensi...
1. Subquery MySQL 4.1 and above support subquerie...
Overview I believe we often encounter such scenar...
Mini Program Data Cache Related Knowledge Data ca...
<br />We usually declare DOCTYPE in HTML in ...