Why Memcached is so popular? One of the reason could be Facebook! Facebook uses Memcached all over their application. Those who are not familiar with Memcached, “memcached is a distributed memory caching system that allows multiple servers to access the same shared memory” and yes, this is server side caching. So “Ctrl + F5″ will not work
If you are Facebook applications developer, i’m pretty sure you faced this caching problem with your profile box. Probably this is the reason why Facebook had to do something about it. As a result they came out with “refreshImgSrc()“. You can request your image be re-cached by using facebook.fbml.refreshImgSrc('imgURL').
But this is bothering, to clear cache I have to call an API? This is extra hassle in the development and I guess it also breaks the concentration. Personally, I never used this API, indeed I always renamed my Image name to clear the cached image.
While I was working today with similar problem, I was thinking that why Facebook cached the developer’s profile box? It would be great if they just stop caching the developers profile box. As long as they know the guy who is working is a developer! Wouldn’t it be great if they stop caching your profile box images and other contents?
So, I’m requesting Facebook engineers to consider this issue if it’s possible all the way. Trust me, It will save lots of time for developers.




