Plesk

How to enable Nginx caching in Plesk?

Question

How to enable Nginx caching in Plesk?

Answer

Note: This feature is available starting from Plesk 17.8 version.

Note: Before enabling caching, it is strongly recommended to switch PHP files processing to PHP-FPM application served by nginx type in Domains > example.com > PHP settings.

To enable nginx Byte-Cache and nginx FastCGI caching, follow these steps:

Enable nginx caching for single domain

  1. Log into Plesk
  2. Go to Domains > example.com > Apache & nginx Settings
  3. Tick the Enable nginx caching option and press the OK button to apply the changes:

Enable nginx caching for all domains using a service plan

  1. Log into Plesk
  2. Go to Service Plans > Hosting Plans tab
  3. Click on the name of the existing plan to edit it.
  4. Go to the Web Server > nginx settings and enable checkbox next to Enable nginx caching:
  5. Click Update & Sync
Exit mobile version