Solve the js and css cache problems on linux servers

Source: Internet
Author: User
Tags website server

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, resulting in local download of js or earlier versions, the specific solutions are 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

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.