added cache options for redirect