• Resolved silente08

    (@silente08)


    As already mentioned in a previous post in this forum, whenever I try to go through the Setup Guide of W3TC on my website, I get stuck at “Test Page Cache”, which always fails, no matter how often I try. It usually gets as far as testing Redis Page Cache, then it only gives me errors. This has happened ever since I installed the plugin months ago and I had previously experienced the same issue on a different website (same hosting), where I have since removed the plugin. Right now I have enabled Page Cache and Browser Cache, but without noticeable improvements to my website’s performance.

    My website is hosted through a shared hosting plan of OVHcloud. I just upgraded to a better plan, but the problem has stayed the same. Using CDN or not also does not change anything. The permalinks are not on default and I am not using any other security plugin.

    I really want to get through the Setup Guide to be able to test the different options of the plugin and see where I can potentially improve performance, if at all. What can I do to make it work?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @silente08

    Thank you for reaching out and I am happy to help!
    Just to clarify, when you run the test for Page Cache, everything runs smoothly until the Redis test?
    If you open a console and check the Network Tab, are you seeing any 404 requests?
    When it comes to improving the performance of your website, the TTFB or the server response time is great. Meaning that the website loads very fast and this is due to the Page Caching and CDN ofcourse.
    In the Google Page speed test, there are some recommendations that are not showing in the Setup guide, as the setup guide shows the metrics for the best cache engine for different features.
    Some of the things you should consider improving based on the GPS test are:


    Serve images in next-gen formats – You can convert images in the W3 Total Cache with the Webp converter tool

    Largest Contentful Paint element?– You should make sure to preload the image: https://sanremo-festival.de/wp-content/uploads/2023/01/cropped-Collage-Sanremo-Header.png

    Eliminate render-blocking resources – Minify CSS and JS and eliminate render-blocking resources in the Performance>Minify section

    Preconnect to required origins – You can preload and reconnect to different origins https://www.gstatic.com

    You should also make sure to optimize CLS as you have large layout shifts which should be avoided.

    Thanks!

    Thread Starter silente08

    (@silente08)

    Thanks for the quick reaction! Sure, it basically looks like this (here it only got until Disk: Enhanced, other times it gets until Redis, I have never seen it get any further):

    A lot of error 503 again, it seems. Do you have an idea what might cause these?

    I will definitely go through your suggested improvements in due time, thanks a lot!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @silente08

    Thank you for your feedback

    The 503 means that the server is not ready to handle the request. This can happen for a variety of reasons.
    However, you opened a console tab, and it would be great if we could see the Network tab when inspecting the source and see if there are any errors in the bottom.
    You should also check if the php-curl is missing as it’s a library that lets you make HTTP requests in PHP

    Thanks!

    Thread Starter silente08

    (@silente08)

    Sure, you can see the network here (same errors 503 as before):

    As for php-curl: according to phpinfo, cURL support is enabled.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @silente08

    Thank you for your feedback.
    Well, it appears that the Memcached was successful now. It seems that there is a problem checking the modules. Can you please run the compatibility check in the Performance>Dashboard?

    Thanks!

    Thread Starter silente08

    (@silente08)

    Indeed, Memcached was new for me, usually it got stuck earlier.

    In the compatibility check I see the following:

    Server Modules & Resources:

    • Plugin Version:?2.7.5
    • PHP Version:?8.3.9;
    • Web Server:?Apache
    • FTP functions:?Installed?(required for Self-hosted (FTP)?CDN?support)
    • Multibyte String support:?Installed?(required for Rackspace Cloud Files support)
    • cURL extension:?Installed?(required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
    • zlib extension:?Installed?(required for gzip compression support)
    • brotli extension:?Not detected?(required for brotli compression support)
    • Opcode cache:?Installed (OPCache)
    • Memcached extension:?Installed
    • Memcache extension:?Not available
    • Redis extension:?Installed
    • HTML Tidy extension:?Not installed?(required for HTML Tidy minifier support)
    • Mime type detection:?Installed (Fileinfo)?(required for?CDN?support)
    • Hash function:?Installed (hash)
    • Open basedir:?Off
    • zlib output compression:?Off
    • set_time_limit:?Available
    • SSH2 extension:?Installed?(required for Self-hosted (FTP)?CDN?SFTP?support)
    • deflate_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • env_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • expires_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • filter_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • ext_filter_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • headers_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • mime_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • rewrite_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)
    • setenvif_module:?Not detected?(required for disk enhanced Page Cache and Browser Cache)

    WordPress Resources

    • /.htaccess:?OK
    • /wp-content:?OK
    • /wp-content/uploads/2024/09:?OK
    • Fancy permalinks:?/%year%/%monthnum%/%day%/%postname%/
    • WP_CACHE define:?Defined (true)
    • URL rewrite:?Enabled
    • Network mode:?Off
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @silente08

    There is nothing that suggest why the tests fail.
    I’ve trued to repicate this however, I was not able to so there must be some restrictions on the server that are bolcking the requests.
    I would advise you to check the logs and check with yoru hosting provider what may be causing this.

    Thanks!

    Thread Starter silente08

    (@silente08)

    Okay, so I tried to figure it out, but there are no errors in the logs and the OVH support tells me that “it’s not caused by technical issues at server level, but by the configuration of your content”. They suggest to enable PHP developer mode to find specific errors, but I have my doubts that will lead to any new results. Seems like there is no explanation for the error then.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @silente08

    Thank you for your feedback.
    The W3TC sends the requests. And if those requests are blocked for some reason the error message appears that you mentioned. So this is not specifically related to the W3TC.
    However, this does not mean that you cannot select those options in the W3 Total Cache, only that the test results fail.
    In General, the best caching methods to use for DB Caching or Object caching are memory-based caching methods like Redis or Memcached. For Page Caching it’s recommended to use Disk: Enhanced

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.