[libsocialcache] Cache prepared queries.