Adding Custom Header Generation helper.
Merging Neeraj's changes for caching resource related info