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
This article shares the specific code of js to re...
Using padding-top percentage can achieve a fixed ...
Preface I wrote a few examples using vue3, and I ...
1. <dl> defines a list, <dt> defines ...
Recently, when I was modifying the intranet porta...
Table of contents Deploy httpd with docker contai...
Table of contents Start and stop Database related...
Overview (official has more detailed description)...
Preface This article mainly introduces the releva...
Recently, when I was working on a front-end vue.j...
Page layout has always been my concern since I st...
Zabbix Server Environment Platform Version: ZABBI...
After installing the database, if you accidentall...
Table of contents 2. Purpose 2.1 Adding propertie...
Mysql5.5 dual machine hot standby Implementation ...