[641] Serve resource cache items via a controller action

To be able to add a header and set the base meta field this commit adds a controller action to the data controller for inserting them into the HTML file at runtime.