Should I uniform different API calls to a single format before caching?
- by bluedaniel
The problem is that I am recreating the social media widget/icons on http://about.me/bluedaniel (thats me).
Anyhow there can be up to 6 or 7 different API calls on the page and obviously I am caching them, at the moment with Memcached.
The question is, as they arrive in various formats and sizes (fb-json, linkedin-xml, wordpress-rss etc), should I universally format/convert them before storing it in the cache.
At present I have recreated the html widget and then stored that, but I worry about saving huge blocks of html in the cache as it doesn't seem that smart.