Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, super chache does not empty its cache once a twitter feed is updated.

    you would have to set supercache so that it reguarlary re-loads your cache.

    Plugin Author Aaron D. Campbell

    (@aaroncampbell)

    In this case, your Twitter feed will update whenever Super cache does, so if you have it set to keep your page cached for a day then your feed will update once a day. If you have it set for a week, then it will update it once a week.

    Old thread, but still a valid topic…

    I can see a few of ways to work this; am facing the problem myself right now.

    • disable caching of pages with twitter feeds — which is fine for sites with twitter feeds only on selected pages, but no good on sites with twitter feeds everywhere
    • if TWP fired an action when it updated its transients, a site could hook that action and tell WP Super Cache to clear its cache (fine for high-volume sites with frequent page/post updates, horrible for lower volume sites with infrequent page/post updates)
    • TWP could have an AJAX load option, where the widget is updated via AJAX pull once the (cached) page has loaded (which means extra work for Mr. Campbell!)

    Aaron, that third option is obviously best, but it means work. Is it something you have planned? If not, are you amenable to accepting a code contribution if someone else implements it?

    cheers,
    Ross

    Jake Love

    (@rockymountainhigh1943)

    I’m having the same issue with my Dynamic Sidebar function. I have the setting turned on in the admin and have added the following code:

    <!--mfunc dynamic_sidebar( 'sidebar-1' ) -->
    <?php dynamic_sidebar( 'sidebar-1' ); ?>
    <!--/mfunc-->

    It works when I first clear the cache but when I try and refresh the page again it breaks the layout.

    Suggestions on how to pull a dynamic sidebar in?

    Thanks,
    Jake

    Jake Love

    (@rockymountainhigh1943)

    Found the solution to my issue! You have to check a few options under the settings page. Make sure to check the box for “Enable dynamic caching” and “Late init”.

    That should do the trick!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Twitter feed only updates if logged in or wp-super-cache deactivated’ is closed to new replies.