adds cache control on static resources