properly cachifying all static resources, including ajax loaded and routed views