added a little cache for snippets to prevent re-requesting at a given position