Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter leoluc

    (@leoluc)

    Hi Adam,

    the automatic cache clearing still does not work. The log shows two main problems:

    [2021-05-18T15:44:00+00:00] Caching to file: /******/*******/public_html/wp-content/wphb-cache/cache/*********/705c42fbf503ad753053a6032ca5e02b.html
    [2021-05-18T15:44:00+00:00] Cached file found. Serving to user.
    [2021-05-18T15:44:01+00:00] Loading config file.
    [2021-05-18T15:44:01+00:00] Skipping page. Used POST method. Only GET allowed.
    [2021-05-18T15:44:02+00:00] Loading config file.
    [2021-05-18T15:44:02+00:00] Page not cached because of active cron or ajax request.

    and

    [2021-05-18T15:40:33+00:00] Caching to file: /******/*******/public_html/wp-content/wphb-cache/cache/********/28cf38c3b76063090a34b2c60e7f8d8b.html
    [2021-05-18T15:40:33+00:00] Cached file not found. Passing to ob_start.
    [2021-05-18T15:40:34+00:00] Loading config file.
    [2021-05-18T15:40:34+00:00] Page not cached because of active cron or ajax request.
    [2021-05-18T15:40:34+00:00] Empty buffer. Exiting.
    [2021-05-18T15:40:34+00:00] Page not cached because unsupported http response code: 301
    [2021-05-18T15:40:34+00:00] HTML corrupt. Page not cached.
    [2021-05-18T15:40:34+00:00] Page not cached. Sending buffer to user.

    I do not know what these errors mean… Can you help me in solving them ?

    Thread Starter leoluc

    (@leoluc)

    Hi Adam,

    thank you for your reply. I checked the folder you mentioned, and the cache files are 24 hours old, corresponding to the last time I cleared the cache manually. I think it means that the automatic cache clearing is not working for some reason. I enabled the debug log and let’s see what happens.
    I am using the standard, default WordPress nonce mechanism, an I understood that nonces regenerate every 12 hours, but every generated nonce is valid for 24 hours, meaning that there are two valid nonces at every moment. This way if I set a cache expiration interval lower than 12 hours, the nonces should never expire because the cache would contain at least the older one.
    I will write here as soon as I get results from the debug log.
    Thank you again,

    Leo

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