This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13438|Reply: 0

[Website O&M] Discuz website optimization CSS\JS uses CDN acceleration

[Copy link]
Posted on 12/22/2016 9:33:24 AM | | | |


First of all, in the background of the website - global - performance optimization - server optimization, fill in the second-level domain name of our static resource file...

We then open the website homepage and view the source code, as follows:




I found that the address of the static file is, our second-level domain +style_3_common.css...

In which directory are style_3_common.css files located????



We found that all the cached css\js files are under the /data/cache directory.

Finally, let's create a new nginx site configuration file, as follows:



Upload to the server, then restart nginx, dz background update cache, successful !!




Previous:Enable the native PowerShell script execution permission BAT
Next:PowerShell displays the program associated with the file extension
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com