• Resolved ciasteks

    (@ciasteks)


    I would like the cache for specific posts to be for X seconds (7 days)

    Problem:
    In my opinion, saving another post from the same category (I tested this way) = deletes the cache of posts from this category.

    I don’t want to like that. I want delete only the cache for specyfic post and not delete others caches.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ciasteks

    (@ciasteks)

    For examle I see in code:

    <!– Page optimized by LiteSpeed Cache @2020-02-21 09:54:45 –>
    <!– Page generated by LiteSpeed Cache 2.9.9.2 on 2020-02-21 10:54:45 –>
    <!– X-LiteSpeed-Cache-Control: public,max-age=604800 –>
    <!– X-LiteSpeed-Tag: c90_post,c90_URL.3b1b570634afc6cc3d6a5901f8f85b5c,c90_Po.189829,c90_ –>
    <!– Object Cache [total] 9842 [hit_incall] 9173 [hit] 641 [miss_incall] 8 [miss] 20 [set] 216 –>

    Few minutes later (the editor added / changed something else NOT THIS POST):

    <!– Page optimized by LiteSpeed Cache @2020-02-21 09:57:08 –>
    <!– Page generated by LiteSpeed Cache 2.9.9.2 on 2020-02-21 10:57:08 –>

    • This reply was modified 4 years, 9 months ago by ciasteks.
    • This reply was modified 4 years, 9 months ago by ciasteks.
    Thread Starter ciasteks

    (@ciasteks)

    Thread Starter ciasteks

    (@ciasteks)

    Raport No: BNQKGDJC

    Thread Starter ciasteks

    (@ciasteks)

    Saving any post = purge cache form all posts

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Are you sure you have unchecked all of them ? from report I don’t see them unchecked.

    by uncheck “all pages with recent post widget” should address this issue as workaround.

    This is known issue , and we have in to-do list for improvement.

    Best regards,
    Ruikai.

    Hello Ruikai,

    Thank you for your reply.

    May you please paste a screenshot? I do not know what you mean by “uncheck”.

    Where should I do that? In Settings / media? All should be set to OFF?

    Thank you.
    Anna

    Plugin Support qtwrk

    (@qtwrk)

    Thread Starter ciasteks

    (@ciasteks)

    yes
    I’m sure.
    Now i switch to wp-rocket beacouse load on serwer was to high (but i wont LS)

    https://zwierciadlo.pl/wp-content/uploads/2020/02/Ustawienia_g?ówne_?_Zwierciadlo.pl_—_WordPress_-_2020-02-21_10.01.06.png

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    few minutes I just checked it was “checked” for all those options.

    You can also enable debug log as this example to get the purge tag.

    Last time I debugged similar issue that was caused by “recent post widget” , enable ESI for recent widget would help , but that is not the case of OpenLiteSpeed.

    You will need Quic Cloud to get ESI , or please wait for new release to contain the fix.

    Thread Starter ciasteks

    (@ciasteks)

    2 hours ago I debugged the problem for a while. And I confirm that there is probably something wrong with this variable because was a lot calls

    purge class:
    public static function purge_post ($ id)

    serialized example of $purge_tags:
    a:9:{i:0;s:9:”Po.190142″;i:1;s:36:”URL.8a6280b3efb7c661d4daa10d7119965c”;i:2;s:16:”W.recent-posts-2″;i:3;s:6:”A.9306″;i:4;s:1:”F”;i:5;s:1:”H”;i:6;s:3:”PGS”;i:7;s:5:”PGSRP”;i:8;s:8:”D.202002″;}

    Chkbx was unchecked (see att above)but something was wrong. Now editors need do their jobs so i installed wp-rocket.

    is it ??
    LiteSpeed_Cache_Config::PURGE_PAGES_WITH_RECENT_POSTS

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Yes, that’s what I mean for “recent post widget”

    This issue will be fixed in new release , or you can also use https://quic.cloud to get ESI feature to address it.

    Best regards,

    Thread Starter ciasteks

    (@ciasteks)

    new release … How long will I wait for this miracle? ??

    SC.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    It is planned for next week if everything goes according to plan ??

    Best regards

    Thread Starter ciasteks

    (@ciasteks)

    KBytes 3314430291 – January

    I’m affraid Q.Cloud is too small for us.

    So…i will wait for miracle ….:) its only week;)

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Save post = clear caches from all post in category’ is closed to new replies.