Thread safety for SEO redirect caching