Browser's micro-processing of F5

Source: Internet
Author: User

Today, I discussed with my colleagues about how to optimize the front-end cache. Pressing F5 in Firefox always finds that several iframe statements always return the 200 status, and 304 should be returned.

My colleague said, "ctrl + F5 indicates that this loading ignores all Expires settings, and F5 will request again ".

Then I read the article F5 and Ajax in-depth investigation, and told me that different browsers have different responses to F5.

 

New findings: It seems that the F5 of the browser (including IE/FF, other untested) should have special processing for text/html. When F5 is refreshed, almost all text/html objects do not have the Last-Modified response header information.

Colleague (xx) 16:14:54
We can understand that F5 is used to refresh the latest text/html page.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.