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
Record the installation and configuration method ...
This article mainly introduces the implementation...
Websites without https support will gradually be ...
Table of contents 1. MySQL trigger creation: 1. M...
Preface Starting from MySQL 5.7.11, MySQL support...
When coding, you will find that many things have ...
Preface A character set is a set of symbols and e...
The four property values of position are: 1.rel...
Table of contents Drop-down multiple-select box U...
Organize the MySQL 5.5 installation and configura...
Preface In MySQL, cross-database queries are main...
Preface Most of our MySQL online environments use...
This error is often encountered by novices. This ...
1. Write Shell script crontab.sh #!/bin/bash step...
In Windows operating system, the program to query...