• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue NGINX: x-cache-status: MISS

Manumarquez

New Pleskian
Hello:

Whenever I browse my website, I check that: NGINX: x-cache-status: MISS

If I refresh the page (f5) it changes to: HIT

So I think the cache time lasts a few seconds. How to increase it?.

What I really need, is for new users to receive a: x-cache-status: HIT

Regards
 
You can increase the NGINX caching timeout via the Apache & nginx Settings on your domain to a value better suited for your needs.
 
Timeout via the Apache & nginx Settings doesn't fix it.
I have discovered a customization (by editing the panel.ini file.):

[webserver]
; path where to store cache
nginxCacheDir = /var/cache/nginx
; default values
nginxCacheEnabled = off
nginxCacheSize = 62914560
nginxCacheTimeout = 5
nginxCacheKey = $scheme$request_method$host$request_uri
nginxCacheCookies = ""
nginxCacheBypassLocations = ""
nginxCacheBypassHeaderNocache = on
nginxCacheBypassHeaderAuth = on
nginxCacheBypassGetNocache = on
nginxCacheUseStale5xx = on
nginxCacheUseStale4xx = off
nginxCacheUseStaleUpdating = on
; maximum values
nginxCacheSizeMax = 1099511627776
nginxCacheTimeoutMax = 3153600000


Some expert knows how to customize it to extend the cache time. Also so that it does not take cookies into account.
 
Back
Top