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
Recently, a new requirement "front-end cache...
Without further ado, I will post the code for you...
I often see some circular wave graphics on mobile...
Table of contents 1. Preparation 2. Decompression...
Compared with Windows system, Linux system provid...
MySQL 5.7.8 introduced the json field. This type ...
This is what happened. Today I was playing with G...
Table of contents 1. Common mistakes made by begi...
1. Qualitative changes brought by CSS variables T...
Use CSS filter to write mouse over effect <div...
Table of contents 1. mysqldump command to back up...
On a Windows server, if you want to back up datab...
Author | Editor Awen | Produced by Tu Min | CSDN ...
Written in front In the past and in the current p...
Preface The language classification of SQL mainly...