Solve the js and css cache problems on linux servers. If you use a Linux system as a website server and modify Js or css locally to the server, it will often fail. this is a problem with the linux server cache, this causes local download to use the Linux system as the website server. it is often ineffective to upload Js or css modifications locally to the server. this is a problem with the linux server cache, as a result, the locally downloaded JavaScript code is still in the old version. the specific solution is as follows:
You can add js references and set parameters such as xx. js? V = 1.2. every time you modify js, you must update the v parameter so that the new js will take effect immediately. css is the same solution.
Articles you may be interested in
- Mysql server master-slave database synchronization configuration
- How to enhance the security of Linux and Unix server systems
- Use the GZip compression function of PHP to compress website JS and CSS files to accelerate website access.
- Completely solves the adaptive width problem of the Button in IE6 and 7.
- PHP allows multiple second-level domain names on the same server to share SESSION data
- Vcastr 3.0-detailed instructions on downloading and configuration of flash video (flvplayer)
- Summary of the causes and solutions for slow mysql server query
- Summarize the causes and solutions for the slow MySQL database server
...