Gateway cache