I see that ('disableOutputBuffering',true) on frontcontroller fixed this issue. But not sure if can disable this per action. I guess not..as it's done at dispatch. Controller plugin doesn't help either.
Julian Davchev wrote: > Hi, > I am trying to chunk serve file using fopen,fread,fseek etc. > Problem I think I am having is that ZF is caching the output...and I get > out of memory instead of using constant memory for no matter how large > file I serve for download. > Using MVC part have action for this download.... have disabled renderer > and layout. > Please let me know how can disable caching of page..I am pretty sure it > occurs. >