Open your browser and go to:
Enter your username and password to access your Plesk dashboard.
In the left menu, click “Websites & Domains.”
Find the domain you want to speed up.
Click “Apache & nginx Settings” under that domain.
Scroll to the nginx settings section. You’ll see options like:
Serve static files directly by nginx
Smart static files processing
Caching static files
Make sure the checkbox for “Cache requests to static files” is enabled.
This tells Plesk to store copies of files like:
Images (.jpg, .png)
Stylesheets (.css)
JavaScript files (.js)
HTML files (if configured)
This greatly speeds up load times by reducing work on your server.
In the same section, you'll see a field labeled “Expires header value for static files” or something similar. You can set a value like:
This means browsers will store (cache) the files for 7 days before re-downloading.
💡 Common values:
1d
= 1 day
7d
= 1 week (recommended)
30d
= 1 month
Scroll to the bottom and click OK or Apply to activate the changes.