Here are some good resources to use cache a website with NGINX.
NGINX is commonly deployed as a reverse proxy or load balancer in an application stack and has a full set of caching features. It can be helpful for:
- Speeding up the website by caching full pages, static files (js, images, css etc.).
- Serving g-zipped data to browsers for faster delivery.
- Rewrite the urls to make them more human readable and easier to remember.
- Adding proper ‘expires header’ to static content so that they can be cached by the browsers.