• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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