• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

problem with Cache-Control no-cache

DaveTupe

New Pleskian
Hi,

I have a problem with Ubuntu + Plesk 11.5 + nginx
I need to cache html and jpg, but no way to do.
Always in Request Headers appears Cache-Control no-cache. Attachment file.
Config in Additional directives nginx:

gzip_proxied any;
expires 30d;
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
try_files $uri @fallback;
}

and checked the three checks in nginx config.

Help!

Regards
 

Attachments

  • Captura.JPG
    Captura.JPG
    56.9 KB · Views: 10
Back
Top