• Resolved Johan

    (@hectornado)


    Hi there! I have a problem where comet cache are caching the very page that I have the (GREAT) plugin “Custom Facebook Feed”. This means that new posts do not update and don’t show up on the page unless I clear cache manually.

    Do you guys have any solution to this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @hectornado Comet Cache is a page caching plugin, which means it captures the output from WordPress and stores that output in a static HTML file, only updating the static HTML file when the WordPress content changes.

    For that reason, any plugins that produce dynamic content (such as the Custom Facebook Feed plugin) must take into consideration WordPress caching plugins, either by telling the WordPress caching plugin not to cache the page where the plugin is located, or, even better, making use of client-side JavaScript to dynamically update the content so that the plugin is unaffected by server-side caching.

    If the Custom Facebook Feed plugin is not compatible with WordPress caching plugins, you can exclude the page where the Facebook feed shows up by excluding the URI of the page in Comet Cache → Plugin Options → URI Exclusion Patterns. Otherwise, I recommend contacting the plugin developer(s) for Custom Facebook Feed and asking them about compatibility with caching plugins.

    Thread Starter Johan

    (@hectornado)

    Hi and thanks for your response.
    Can you by any chance provide me the URI code that I need to add to Comet Cache → Plugin Options → URI Exclusion Patterns.

    The page is this one.

    To exclude this page from be cached by Comet Cache:

    https://golfoasen.se/nyheter/

    You should add the following to Comet Cache → Plugin Options → URI Exclusion Patterns:

    /nyheter/**

    For more information on the syntax for that field, please see this article.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Facebook Feed vs Comet Cache’ is closed to new replies.