• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Nginx caching issue.

khaled

New Pleskian
Hello, I almost a week and I didn't manage to setup the cache correctly thought Nginx.
I just getting : x-cache-status: BYPASS


-Plesk Onyx v17.8.11_build1708180301.19 os_Ubuntu 16.04
-wordpress.

I am using Cloudflare.

I tried to add :
proxy_ignore_headers "Set-Cookie";
proxy_hide_header "Set-Cookie";

to Additional Nginx directives. nothing change I keep getting: x-cache-status: BYPASS
 

Attachments

  • 2019-11-13_1113.png
    2019-11-13_1113.png
    469.9 KB · Views: 38
  • 2019-11-13_1112.png
    2019-11-13_1112.png
    148.1 KB · Views: 36
  • 2019-11-13_1111.png
    2019-11-13_1111.png
    117.5 KB · Views: 35
According to your first screenshot, you are opening your homepage. This is not a static file but a .php file. All dynamic content is forwarded to Apache and not cached by Nginx. Only static files are cached.

Instead try to request an image file only and check again whether it is cached. Also keep in mind that the cache is a short time cache only, so only if the same file is requested within n seconds it will be delivered from the cache.
 
Thank you. I really tried the same steps in the last article. but not sure what is the problem still.
 
Back
Top