Closed kpdecker closed 10 years ago
Related to https://github.com/hapijs/hapi/issues/1984
I don't think this belongs here. I am not sure what this interface should look like but it sounds like another module. The method in hapi is completely tied to the request object and response object. Without those parts, it is a single line that concat string parts together.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Would be nice to have the logic that is used to generate the http cache headers to be exposed as a utility method so users that need to provide explicit cache headers can use the same config values as used in the route definitions.