Quantcast
Channel: Howtoforge Linux Howtos und Tutorials
Viewing all articles
Browse latest Browse all 615

How to cache static files on nginx

$
0
0
This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers.

Viewing all articles
Browse latest Browse all 615

Trending Articles