Tried to fix the Facebook image cache problems

as discussed in IRC.