Just some naive cache generator