Fix bugs
Add cache for redirector