Forward-port caching and csp headers for _utils