Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Caching problem with Litespeed
Tagged: cache litespeed
- This topic has 31 replies, 3 voices, and was last updated 4 years, 4 months ago by Ross.
-
Teemu Karjaluoto(Private) November 11, 2019 at 8:52 am #226167
Hi,
we have strange problem with Search and filter pro and Litespeed server/cache. Our search and filter page shows Learndash LMS courses as custom archive page here:
https://www.trainer4you.fi/fi/tietopankki-kategoria/online-koulutukset/The page lose some courses after few days. On this page (https://www.trainer4you.fi/fi/tietopankki-kategoria/online-koulutukset/) should be 10 courses listed. Currently when I’m writing this, it shows all the courses as we have “rebuild cache” manually from the search form. So the problem is that our archive is not caching the courses correctly. It shows only some of the courses.
We have excluded these pages even from the Litespeed cache as you can see from the page source:
<!– Page uncached by LiteSpeed Cache 2.9.9 on 2019-11-11 10:38:25 –>We have tried every setting from the Search And filter pro plugin, but none off them are working correctly. Even if we tap the “Use Background process” away, some courses are lost after some time.
What could be the problem?
Trevor Moderator(Private) November 11, 2019 at 10:28 am #226168From what you say, when it happens, it is easy for you to see, and also to identify the missing courses.
Use a database tool to look in the WordPress database and find our cache table, and look in there to find that post. Is it there? Use the Query Monitor plugin to check to see if our plugin is requesting that Post ID (our plugin uses the filter parameters and our own cache to work out which Post IDs are needed, and requests them directly as a list).
Then, let me know immediately what you found.
Trevor Moderator(Private) November 11, 2019 at 10:29 am #226170This reply has been marked as private.Teemu Karjaluoto(Private) November 11, 2019 at 11:29 am #226205Thanks for the reply. Here is the link for the main page of the archive:
https://www.trainer4you.fi/fi/tietopankki/
currently there is one course missing in the list. Here:
https://www.trainer4you.fi/fi/tietopankki-kategoria/online-koulutukset/
should be 10 courses. And right now there is only 9 courses.I looked into database. Course id 3326 is missing from the archive page. This course is listed like this in the database: https://i.imgur.com/fg85o5y.png (null?)
other course (id 9155) that is cached correctly is shown in the database as follows:
https://i.imgur.com/8DnttjW.png (not null?)Teemu Karjaluoto(Private) November 11, 2019 at 11:31 am #226211This reply has been marked as private.Trevor Moderator(Private) November 11, 2019 at 11:44 am #226217This reply has been marked as private.Trevor Moderator(Private) November 11, 2019 at 11:48 am #226225Sorry, one of the images was missing from that post, I have just added it. Here it is again:
Teemu Karjaluoto(Private) November 11, 2019 at 12:14 pm #226235This reply has been marked as private.Teemu Karjaluoto(Private) November 12, 2019 at 11:07 am #226354This reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.