Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
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
- Log into Plesk
- Go to Domains > example.com > Apache & nginx Settings
- 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
- Log into Plesk
- Go to Service Plans > Hosting Plans tab
- Click on the name of the existing plan to edit it.
- Go to the Web Server > nginx settings and enable checkbox next to Enable nginx caching:
- Click Update & Sync
Comments
9 comments
Is there any way the ngix cache does not take cookies into consideration?
Hi,
When you are enabling nginx cache, you will notice 'Cache requests with cookies' field, see below:

You can specify any cookies you want there and they will be ignored.
How can I clear cache when needed?
Hello Richacinas
This article should answer your question.
You will need to follow this guide.
Hello.
How to enable nginx caching via CLI?
plesk bin subscription ???
Hello Pavel Rusanov
Command examples are available here: https://docs.plesk.com/en-US/obsidian/cli-linux/using-command-line-utilities/subscription-subscriptions.37768/
Sorry. I made a mistake. I wanted to now how to know about Hosting plan.
How to enable nginx caching via IIS?
Hi fatimah alqadheeb,
As its name says, it's Nginx caching and it's not available for Windows.
Please sign in to leave a comment.