cache function added

no longer so much Facebook calls