jakobbouchard / hestia-nginx-cache

Hestia Nginx Cache Integration for WordPress.
https://wordpress.org/plugins/hestia-nginx-cache/
GNU General Public License v3.0
11 stars 4 forks source link

The page cache was not detected, but the server response time is OK #34

Closed maisondasilva closed 8 months ago

maisondasilva commented 8 months ago

I receive the warning below on Wordpress, would it be possible for Hestia Cache to add this header or something like that?

Page caching increases your site's speed and performance by saving and serving static pages instead of calling a page every time a user visits.

Page caching is detected by looking for an active page caching plugin, as well as making three requests to the home page and looking for one or more of the following HTTP client cache response headers:

cache-control, expirations, age, last-modified, etag, x-cache-enabled, x-cache-disabled, x-srcache-store-status, x-srcache-fetch-status. The average server response time was 62 milliseconds. This is less than the recommended threshold of 600 milliseconds. No client cache response headers were detected. A page cache plugin was not detected.

Learn more about page caching (open in a new tab) https://developer.wordpress.org/advanced-administration/performance/optimization/#Caching

and

You must use a persistent object cache

A persistent object cache makes your site's database more efficient, resulting in faster load times because WordPress can retrieve your site's content and settings much more quickly.

Your hosting provider can tell you whether persistent object caching can be enabled on your site. Your host appears to support the following object caching services: APCu.

Learn more about persistent object caching.(open in new tab) https://developer.wordpress.org/advanced-administration/performance/optimization/#persistent-object-cache

maisondasilva commented 8 months ago

@jakobbouchard @jaapmarcus

jaapmarcus commented 8 months ago

Caching is done with Nginx and not with this plugin so we can't add it...

It is still smart to use features like redis cache it will still help a lot ...

Hestia adds by default x-fastcgi-cache: xxx

maisondasilva commented 8 months ago

Thanks for the heads up, closing!