93
Quote:
Dave_L wrote:
That's not necessarily good if you're using caching. It could cause unnecessary database queries or other processing.
Hmmm, really? Never realised that and am pretty interested in knowing why that is. This far I've been going out of my way to postpone sending a header as long as possible in my code.
I am pretty new to XOOPS 2.0 (even went so far as to mod PHPNuke to use Smarty, hehe) but pretty impressed as to it's workings. (Minus a few annoyances.)
As far as I understand it; postponing the invocation of the header file would only cause the page rendering commands to be grouped closer together in the code.
But since it is beyond the scope of this thread to discuss it: maybe you'd be willing to PM me the explanation or direct me to another thread or documentation where this has been done before?
(Speaking of documentation, wouldn't it be nice if phpDocumentor would also support documentation of $_GET and $_POST variables. Sometimes you have to plough through over 4 files of code to find the exact usage of such a parameter)