Add dict/text cache support