cache string files when loaded in the browser