Improved response caching and FirePHP logging