Enabling nginx caching allows the nginx proxy server to cache certain
website dynamic content. The cached data is stored for a short time
(usually no more than several seconds). This can help speed up the
website load time and reduce server load.
Enabling nginx caching is recommended only for websites with a specific
profile (for example, popular blogs or news websites):
- High traffic.
- The content is updated every few seconds.
Enabling nginx caching can be useless or even harmful for websites with
the following profile:
- Moderate or low traffic.
- The content is updated less often than every few seconds.
- Personalized content is used (for example, the visitor’s geographical
location or the contents of their shopping cart).
To enable nginx caching:
- Go to Websites & Domains > Apache & nginx Settings.
- In the “nginx settings” section, select the “Enable nginx caching”
checkbox. - (Optional) You can customize nginx caching settings. If you are not
familiar with nginx caching, we recommend that you keep the default
settings. Misconfiguring these settings can hinder the website and
server performance. - Click OK.