caching-static-files-with-nginx-web-server.md 997 B


Title: "Caching static files with nginx web server" Date: 2016-08-09 21:07:24 Categories: [web server] tags: [nginx] Slug: caching-static-files-with-nginx-web-server Authors: sedlav

Summary: Caching saves bandwidth and makes possible to serve a greater number of requests per second so your web site appear faster. In this tutorial HowToForg

Caching saves bandwidth and makes possible to serve a greater number of requests per second so your web site appear faster. In this tutorial HowToForge 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.

nginx (engine x) is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.

Link