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).
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.
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
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
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
You're welcome.
is working on a reply...