• Resolved yasindedo1

    (@yasindedo1)


    The original error shows up like this: Curl error 28: operation timed out after 10K milliseconds.

    To demonstrate the issue you should have a page that loads longer than 10 seconds(10k milliseconds) without any cache.
    Then you should set the preload setting of Fastest Cache plugin and use this link domain.com/?action=wpfastestcache&type=preload

    I guess it is also related to the WP REST API timeout limit. But since we have the timeout setting in the WPFC plugin code, we can simply alter that limit to something that suits with our condition. Like, change it to 15 seconds maybe.

    I could not find any similar topic so I thought it would be nice to share.

    • This topic was modified 1 year, 6 months ago by yasindedo1.

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

Viewing 1 replies (of 1 total)
  • Thread Starter yasindedo1

    (@yasindedo1)

    To make the necessary change:
    domain.com/wp-content/plugins/wp-fastest-cache/wpFastestCache.php
    edit this file and look for the wp_remote_get function. It has a parameter named timeout. You can see it like this 'timeout' => 10,
    change the 10 to 15 and it will probably work. If you need more time then use a larger number.
    Do not forget to update this line whenever you update the plugin or you can probably use a filter/hook to modify it.

    • This reply was modified 1 year, 6 months ago by yasindedo1.
    • This reply was modified 1 year, 6 months ago by yasindedo1. Reason: format code lines etc
Viewing 1 replies (of 1 total)
  • The topic ‘Fastest cache curl error 28: operation timed out when manual preload’ is closed to new replies.