background question Method 1 Copy code The code is as follows: <link rel="stylesheet" href="style.css" /> Just change the css file name: Copy code The code is as follows: <link rel="stylesheet" href="index.css" /> Another way to change the css file name is to write the version number into the file name, such as: Copy code The code is as follows: <link rel="stylesheet" href="index.v2011.css" /> After the css file is updated, just change the version number in the file name: Copy code The code is as follows: <link rel="stylesheet" href="index.v2012.css" /> Method 2 Copy code The code is as follows: <link rel="stylesheet" href="style.css?v=2011" /> Just change the version number of the css file to 2012: Copy code The code is as follows: <link rel="stylesheet" href="style.css?v=2012" /> It should be noted that some proxy cache servers will not cache resources containing "?" in the URL, so method 2 may cause your original cache function to fail. You can use method 1 instead. Summarize |
<<: Solution to VMware virtual machine no network
>>: In-depth analysis of the various backgrounds, usage scenarios and techniques of CSS
Table of contents 1. What is JSONP 2. JSONP cross...
Table of contents Overview definition Instance Me...
Table of contents 1. Advantages of proxy vs. Obje...
During the use of mysql, it was found that the nu...
The requirement is to pass in the rating data for...
Table of contents Implementing an irregular form ...
background Now the company's projects are dev...
Detailed installation tutorial of mysql-5.7.23-wi...
This article example shares the specific code of ...
1. Execute SQL to view select @@session.sql_mode;...
MySQL is a powerful open source database. With th...
If I want to make the form non-input-capable, I se...
How to create a service and auto-start it in Ubun...
Some MySQL tables may contain duplicate records. ...
This error is often encountered by novices. This ...