Implement simple cache for UUIDs

Right now it can hold at most 100 entries for a maximum of one hour.