• Resolved schwindt14

    (@schwindt14)


    I’m running on Cloudways, which offers Redis and by default installs the Object Cache Pro drop-in on WordPress installations.

    I have encountered an error where page loads freeze when partially loaded or else freeze on a blank white screen. In the browser console, I am seeing an error “ERR_INCOMPLETE_CHUNKED_ENCODING”.

    This error ONLY occurs when Object Cache Pro and W3 Total Cache are enabled simultaneously.

    It seemed obvious that the issue was simply that both were utilizing an object-cache.php file. However, I have always DISABLED the object caching feature within W3 Total Cache for this very reason.

    So, even with W3TC object caching disabled, I have a conflict with the Object Cache Pro drop-in.

    At this time, the only way to avoid the error is to disable the Object Cache Pro drop-in and use W3TC object caching (which produces an error in WordPress regarding a “foreign object cache drop-in”), or else I have to disable W3TC completely and enabled Object Cache Pro. Enabling Object Cache Pro and W3TC simultaneously creates the blank page loads even when W3TC object caching is “unchecked” in general settings.

    Do you have any advice on how to best proceed? Ideally, I hoped to use the Cloudways Object Cache Pro drop-in (since that is installed by them) and use W3TC for everything else (object caching disabled) but I cannot figure out how to do that without creating errors.

    • This topic was modified 3 years, 1 month ago by schwindt14. Reason: added parenthesis
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @schwindt14

    Thank you for a very interesting question.

    W3TC should not care about the object-cache.php if the Object Caching is disabled in the W3 Total Cache General settings. This being said, W3TC works well with for example Redis Object Cache plugin, that is also using the same drop-in named file.

    What I would suggest is to disable W3TC Object Cache, save all settings and purge the cache. Before that disable the Object Cache Pro plugin.

    Once both are disabled, manually delete (make a backup) wp-config drop-in object-cache.php

    Now, once you activate the Object Cache Pro plugin it should drop-in it’s own file, and since the OC is disabled in W3TC, it should not check for the object-cache.php

    The error “ERR_INCOMPLETE_CHUNKED_ENCODING”. indicates that there may be a problem with compression. I am not sure and familiar with the other plugin and the settings that you may have there, however, I would recommend disabling the gzip compression in W3 Total Cache Browser Cache settings and see if this helps, as you may have double compression active on some other level.

    I hope this helps!

    Thanks!

    Thread Starter schwindt14

    (@schwindt14)

    Thank you so much, Marko. I’ve been trying to isolate this issue for quite some time (with other support resources) and this is the most precise and helpful feedback I’ve received. I’m going to go and try these options and I’ll report back soon if I have additional questions or else I’ll mark it closed if successful. I appreciate your help!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @schwindt14

    You are most welcome, and please let me know is the above helps you fix the problem.

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

    Thread Starter schwindt14

    (@schwindt14)

    This appears to have worked. Thank you so much. I suspect that disabling gzip compression in W3TC was also key, since from what I’m seeing, Object Cache Pro deals with compression in some areas. (https://objectcache.pro/)

    I do have one related question which hopefully is an easy answer for you:

    Given my situation (using Object Cache Pro for object cache and W3TC for various other things), is there any reason I would also want to disable the “Database Cache” feature in W3TC, for fear of additional “overlap”?

    If there is no risk of overlap, then do you recommend that I select Redis or Memcached for Database Cache functionality (my server provides both options)?

    I am only looking for recommendations to avoid future issues on these last points, and you have solved my original issue, so I will mark solved.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @schwindt14

    Thank you for your feedback and I am glad the problem is resolved.

    DB caching and OB caching are similar, and this depends on the website and the number of queries. It’s generally recommended to use only OC or only DB caching, however, you can test and see if you are experiencing any issues.

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

    Thread Starter schwindt14

    (@schwindt14)

    Review has been posted. Thanks again!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Errors with Cloudways / Object Cache Pro’ is closed to new replies.