• Resolved majecdad

    (@majecdad)


    Hello,

    I get the following error, frequently, but not on every page.

    Method: GET
    URL: myurl/?ao_speedup_cachebuster=14992 (this number seems to change)
    Status: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received
    Caller: autoptimizeCache::clearall()
    Plugin: autoptimize
    Timeout: 5
    Time: 5.0051

    The error shows in the httpAPI calls, as displayed in Query Monitor.

    I also have WPRocket on site; using AO in conjunction with WPR, with AO for JS minify/concat as it seems to work better in testing.

    WP 4.9.8, Avada 5.7, AO 2.4.1

    WP memory 768M, max execution time=300, php 7.1.23, curl version 7.59.0 open ssl/1.0.2k

    Does it have something to do with the max execution time? And if so should I increase that?

    Or since it is not happening on every page load, and doesn’t seem to affect front end should I not bother with it?

    Or? Guidance appreciated.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the “cachebuster”-calls are done when autoptimize’s cache is purged (either by an admin pushing that button, by a 3rd party plugin auto-purging AO or by a page cache -wp rocket included- when it’s cache is entirely purged) in which case AO tries to “warm” it’s own cache.

    the timeout is a curl (which is used by the wordpress core HTTP API) timeout and the 5s is the default timeout there.

    and yes, you can safely ignore the error; this has no impact on visitors (it makes the site faster for them actually) and even if curl gives up after 5s, the AO cache is preloaded just fine.

    hope this clarifies,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘curl timeout error’ is closed to new replies.