• Resolved qtwrk

    (@qtwrk)


    Hi,

    Greetings from LiteSpeed Cache team

    recently I have a user reported some issue , basically when page is cached , the feed is not updated , as no more PHP is triggered

    so may I know , how exactly does your plugin update the feed ?

    is it like a cron schedule that periodically fetches from FaceBook ? or it just fetches instantaneously when page is accessed as foreground task ?

    I only ask because if it’s background task , is there any hook I can use ? so when feed is updated , I can use it to call the cache purge action as well

    Looking forward to your reply

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support slickchris

    (@slickchris)

    Hi @qtwrk,

    Thanks for contacting us. In an effort to help us debug, we will need some more info.

    In your WordPress dashboard, go to FT Social > Feeds then click on the feed that you are having the issue with.

    Then, click the blue support beacon at the bottom right, click “Ask” (on the top right) and fill out the rest of the support ticket. This procedure will send us any/all of the feed info for us to be able to help debug your issue. AS well as the other issues you mention.

    Cheers,
    The SlickRemix Team

    Plugin Support slickchris

    (@slickchris)

    Hi @qtwrk,

    To elaborate further on what you are asking, we do not have any options to bypass caching plugins or any hooks at this time, unfortunately. Our plugin sets a time limit in the db for the cache to be emptied. Generally, caching plugins usually have an option to bypass certain pages from being cached or specific areas on the page, which may help in this instance.

    Thread Starter qtwrk

    (@qtwrk)

    Hi,

    many thanks for getting back to me

    exclude the page is one way to go , but obviously user doesn’t like this way , specially when it is in the homepage , exclude homepage from cache is not exactly like a good idea

    unfortunately I don’t have any test site on this , but just relaying the request from user , I will set up a test site to gather more information

    Best regards,

    Thread Starter qtwrk

    (@qtwrk)

    Hi,

    I tried to set up a test site , but well , I don’t really use any social media like Facebook, Youtube …etc , so the test didn’t really work out for me.

    when you say

    Our plugin sets a time limit in the db for the cache to be emptied

    could you please explain a bit how exactly was that done ? like in which code ?

    Best regards,

    Plugin Support slickchris

    (@slickchris)

    Hi @qtwrk,

    Our plugin sets a transient for the cache time and clears it to allow the feed to update. You can see the code that makes all this happen here in our feed-cache.php file. https://github.com/SlickRemix/feed-them-social/blob/master/includes/feed-cache.php

    Cheers,
    The SlickRemix Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘any API to call when updating ?’ is closed to new replies.