add cache param on dynamic resize