• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Browser caching suddenly disabled

Franco

Regular Pleskian
Hello,

back several months ago I was able to set "browser caching" on my websites, but recent checks show that it is disabled (cannot say since when).
I looked into this How to enable leverage browser caching for nginx? and just tested a couple of websites to test it, but they remain disabled. i wonder why and how to fix it?

My config is:

CentOS 7.6
Plesk 17.8.11#34
Server: FPM served by nginx. Nothing set in terms of apache proxy, etc.
Location directives as explained in the mentioned article.

I observe the same whether it is plain http or https with https/2 enabled.
My recent changes where an OS upgrade, Plesk upgrade (17.5 to 17.8), TLS 1.2.

Is anyone observing a similar behaviour?

Thanks a lot for any hint on this.
 
I have the same problem suddenly for both FPM served by nginx or apache,

curl -I -c - https://www.example.com/image.png -k

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 27 Dec 2018 18:46:33 GMT
Content-Type: image/png
Content-Length: 13335
Last-Modified: Tue, 18 Dec 2018 23:54:15 GMT
Connection: keep-alive
ETag: "5c1988a7-3417"
X-Powered-By: PleskLin
Accept-Ranges: bytes

I have setup both Apache and Nginx browser chaching according to articles:

How to enable leverage browser caching for nginx?
How to enable leverage browser caching for Apache in Plesk
and read the:
Cache expiration header in additional Nginx directives does not get applied

Experimenting with Nginx only settings, nginx proxying Apache, nothing works, strange is that another domain under same service plan works just fine, looks like a bug, please file it someone, because I can not file bugs, I bought license through reseller.​
 
Hi all, I think I found the problem causing this issue in my case, it was by accident, cache-control: max-age * worked fine only on one of my domains, so spent whole night looking into differences, I found one in Wordpress extension, Security status, View ...

If in Security Status - Hotlink protection (i) (can be reverted) is enabled, cache-control: max-age * header suddenly disappears, once I disable the Hotlink protection, it appears again.

So for me, once I disabled Hotlink protection in WordPress > Security status > View, expiry headers work as desired.

Screenshot from 2018-12-28 16-27-34.png
 
Last edited:
Back
Top