WordPress knowledge sharing
1 article in total

Label: Nginx static resource cache rules

How to set Nginx/Apache static resource cache rules?

Common dynamic websites are generally implemented by php, asp, jsp, asp. net and other programs, while other static resources, including pictures, css style sheets, js code and other content, are generally unchanged, so we can set the file cache time on the browser side in the web service to achieve quick access to websites and save network bandwidth traffic