Mobile META tag Cache settings

Source: Internet
Author: User

1.<meta charset="Utf-8" >

2. < < Span style= "COLOR: #ff0000" >META&NBSP; content= "Width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0 "&NBSP; name= "viewport";   

3. <meta content=" Telephone=no "  name=< Span class= "Hljs-value" > "format-detection";

< Span class= "Hljs-value" >4.<< Span class= "Hljs-title" >meta  content=" my page " name=" keywords ">

5.<Meta content="" name="description" >

6.<meta content="yes" name="apple-mobile-web-app-capable" >

7.<meta content="Black" name="Apple-mobile-web-app-status-bar-style" >

8.<meta http-equiv= "pragma" content= "No-cache" >

9.<meta http-equiv= "Cache-control" content= "No-cache" >

1. Set page character encoding Utf-8

2. Set viewport width to device width, prohibit user zoom

3. Set disable automatic number recognition as phone number

4. Set page keywords for SEO search

5. Set Page main content description, SEO search

6. Delete the default Apple toolbar and menu bar

7. Set Status bar display style (default sample)

8. Define whether the page is cached (pragma mates no-cache prevent pages from being cached)//http1.0

9. Set the page cache mode (Cache-control contend values are No-cache, No-store, Max-age, must-revalidate)//http1.1

Note: No-cache: does not cache expired resources, the cache processes the resource after it has been validated to the server for validation.

No-store: Do not cache any

Max-age: Specifies the expiration time, which is obtained from the cache within the validity period

Must-revalidate: function with No-cache, force check whether the local version expires

The purpose of using no-cache is to prevent outdated resources from being fetched from the cache.

Mobile META tag Cache settings

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.