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
Let me start with a question: When writing an HTM...
First, understand a method: Entering a Docker con...
This article mainly introduces the typing effect ...
<br />From the launch of NetEase's new h...
Table of contents What is a trigger Create a trig...
1. Drop-down list example The code is as follows:...
1. Docker startup problem: Problem Solved: You ne...
1. Environment: MySQL-5.0.41-win32 Windows XP Pro...
Today I looked at some things related to data bac...
The solution to the background tiling or border br...
Problem description: For example, the content of ...
Table of contents Overview 1. Define store.js 2. ...
Preface The writing of front-end code can never e...
Table of contents 1.MySQL adds or subtracts a tim...
I am planning to organize the company's inter...