When using Zend_Cache for page caching, you must set output buffering in the 
dispatcher to false. I recently updated the docs which have omitted that step.

The second issue is more problematic. I'd double check the controller or view 
are not calling exit() anywhere. I'd also double check layouts are enabled for 
that action.

Is the layout rendered when the caching is disabled?

Paddy

 Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative





________________________________
From: theduke <[email protected]>
To: [email protected]
Sent: Thu, February 25, 2010 11:05:55 AM
Subject: [fw-general] Zend_Cache_Page problem


Hello.

I've stumbled upon a problem with Zend_Cache_Page.

With most of my actions it works just fine, but with one action, which is
rendered just fine without the cache, I got an empty page.

After checking the manual I set
resources.frontcontroller.params.disableOutputBuffering=true in my config.
All other pages still work fine, but my problem action will show just the
actions view, but not the contents of my layout!

Any idea what my problem might be?


with regards,
theduke
-- 
View this message in context: 
http://n4.nabble.com/Zend-Cache-Page-problem-tp1568839p1568839.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to