moved retry and cache size configs to tsx header