fixing bug around old hash syntax and added in configuration option to change other cache headers