Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Make debug_header configurable and/or add real HTTP debug_header #11

Closed
zfbot opened this issue Apr 5, 2013 · 2 comments
Closed

Make debug_header configurable and/or add real HTTP debug_header #11

zfbot opened this issue Apr 5, 2013 · 2 comments

Comments

@zfbot
Copy link

zfbot commented Apr 5, 2013

Jira Information

Original Issue:ZF-12406
Issue Type:Improvement
Reporter:Frank Ruske
Created:09/05/12
Assignee:Alexander Veremyev
Components:Zend_Cache

Description

Proposal: Make it possible to set different cache debug_headers or disable them based on regexps.

Also it would be cool if you can add an http header and not only

cause this breaks json responses for example.


$frontendOptions = array(
'lifetime' => 10,
'debug_header' => true,
'regexps' => array(
'^/json/$' => array('debug_header' => false), // im an json response no debug header please
'^/json2/$' => array('debug_header_http' => 'x-header-zendcache'), // im an json response and thus i got a real http debug header
)
);


Would be nice to have this possibility for phpunit / selenium etc.

@zfbot
Copy link
Author

zfbot commented Apr 5, 2013

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF-12406

Known GitHub users mentioned in the original message or comment:

@froschdesign
Copy link
Member

We will not add any new features or functionality for ZF1.
Please make your proposal in ZF2. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants