Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Apr 04, 2013 @ 10:15
    Chriztian Steinmeier
    0

    Caching tweets

    Does the uTwit:GetLatestTweets() extension (XSLT for me, but assuming it's the same for the Razor helper) do any caching behind the scenes, or is there an API call performed for every page load?

    I'm using Umbraco's macro caching controls myself but was curious if something is done inside the helpers too, which could have an effect on the settings I should choose (e.g., if the internal setting caches for 30 seconds I should probably choose some multiple of that for the Umbraco setting).

    /Chriztian

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 04, 2013 @ 10:20
    Matt Brailsford
    101

    Hi Chriztian,

    No, uTwit does a direct call so yes, you should use macro caching. I figured this was the simplest way, and for people using MVC, they can use the Html.CachedPartial helper method available to cache the uTwit partials.

    Do you see a need for any more advanced caching?

    Matt

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Apr 04, 2013 @ 10:26
    Chriztian Steinmeier
    0

    Hi Matt,

    Thanks - no, I don't see any need either — I kinda figured that this was the case, but also wanted to be sure :-)

    Thanks as always for the quick response :-)

    /Chriztian

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 04, 2013 @ 10:28
    Matt Brailsford
    0

    You're welcome.

Please Sign in or register to post replies

Write your reply to:

Draft