Hi,

I'm trying to make sure that certain views *are* cached (in the  
browser / proxies), so I'm setting the cache-control, expires headers  
appropriately. I'm also trying to prevent the "Pragma" http header  
from being sent. In a view the following does not seem to have an  
effect:

$this->getResponse()->removeHttpHeader('Pragma');

However the following does seem to remove the header (according to  
Firebug)

$this->getResponse()->setHttpHeader('Pragma', '');

Can I check that doing the latter is ok, and will suffer not bad  
consequences?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to