The Cache header does not work. <metahttp-equiv = "Cache-Control" content = "max-age = 7200"/> What should I do?
Source: Internet
Author: User
The Cache header does not work & lt; metahttp-equiv = & quot; Cache-Control & quot; content = & quot; max-age = 7200 & quot;/& gt; if you have any questions, please add this sentence to the html page. I don't know why. & lt; the meta cache header does not work.
Have a Question
Adding this sentence to the html page is useless. I don't know why.
Or is there any way to control the cache time of a single static page?
------ Solution --------------------
------ Solution --------------------
How do you use
------ Solution --------------------
It seems that this parameter does not play any role. it is rarely used to see if someone else can help you. Sorry
------ Solution --------------------
You can try this.
For specific usage, refer to the header in the PHP Manual
Header ('last-Modified: '. gmdate ('d, d m y h: I: S', $ time). 'gmt ');
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.