Cloudkul Support

How to use Nginx as a Caching Server ?

Go to /etc/nginx/nginx.conf and add the line

/tmp/cache => where cache files will be stored
keys_zone => cache name
inactive => Expire time of cache
max_size => Maximum size of cache

Suppose we want to cache the url “/products”, we need to add some lines in location directive


Is this article is helpful?

People like and 0 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request