• Resolved gnariman

    (@gnariman)


    Cache is purged before TTL expired.
    I visit a page the first time and get miss. I visit the page the second time and get hit.
    After about 10-15 minutes, that is below than TTL I set, I get miss again.
    ————————–
    Report number: PRVMYKCW

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

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please check this wiki

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    Hi,
    I did what the Wiki says and found that wp cron starts a purge process. I disabled wp cron, but it didn’t solve my problem. After disabling wp cron, I don’t have any purge tags in my log file at all.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    You mean you don’t see any purge tag log in your debug log , and yet you still seeing your pages are being purged ?

    Besides cron , have you found any other actions that would trigger the purge ?

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    1. I purge the entire cache and this purging is shown in the log.
    2. I update the main page of the site twice to get the hit status.
    3. I update the same page until I see the miss status.
    4. I get the miss status after about 15 minutes, then check the log and there is no purge tag in it.

    I have no idea what actions would trigger the purge.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Then please try this way:

    1. set log size to higher number , like 30 MB

    2. set debug IP to all

    3. now purge all

    4. check your main page , until you see the hit

    5. now wait for 15 minutes or so , check in file /wp-content/debug.log and /wp-content/debug.purge.log

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    I tried to do as you wrote, and I still have the same problem.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    No , that is not solution , that’s debugging , now , please post the content of debug.log and debug.purge.log

    you can submit them to gist.github.com , and then give the links.

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I only see a purge all action , seems performed manually.

    the log seems only have 5 minutes range , did the purge happens in this 5 minutes ?

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    Sorry, that was not a complete log file, I updated it, please, take a look again.

    https://gist.github.com/StreetYo/c03a0b90ff48bc1ecefd457528539436

    The purge all action was mine. I did it to get the miss status the first time.

    The log file contains actions that were between the first miss status and the second one. Between them was about 20 minutes.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please tell me which URLs in that log you see the miss ?

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    /no/sexy-undertoy/

    I see the miss status in response headers like here:
    https://postimg.cc/gallery/1cg63u0ko/

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know did you add/remove/edit the cart during that time ?

    Best regards,

    Thread Starter gnariman

    (@gnariman)

    No, I didn’t. I was just refreshing the page.

    • This reply was modified 5 years ago by gnariman.
    zenjameo

    (@zenjameo)

    Hello,

    I have same issue.
    LS cache is set to be stored for 7 days, but cache is dropped after much more short time.
    1-6 hours.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Cache is automatically purged’ is closed to new replies.