PHP is setting them itself. Because the content is dynamically
generated PHP sends out headers to tell the browser to re-request it
every time. I think it modifies them further when you use the PHP
Session handling functions which you are using if you are using zoop
sessions.
> Are there some parameters in Zoop that I need to set to allow caching
> and/or to set response headers?
All you need is the PHP header function (http://us2.php.net/header).
That page even has some cache control examples on it. If you learn
how all of the cache related headers work then you can get it to do
whatever you want. I have done this for images (or other static
files) that I create and want cached. I can show you the headers that
I have been using and what they do.
> Earlier versions of Zoop had an 'app_status' global that distinguished
> between dev and prod (I assume). It must have set different parameters
> such as debuging code and maybe caching parameters. How is that done
> now? Does Zoop allow distinction between development and production?
> If so how is that configured?
The configuration system for zoop is very, very flexible and there are
different ways to have different configs for dev, testing, and
production. I can run you through the different ways of doing it if
you like. Because I often had situations where I didn't care
specifically about whether I was in dev, test, or prod, in Zoop I have
leaned more towards giving a bunch of config options and allowing you
to have totally separate files for each state that you can switch back
and forth between.
I will try to come with some wiki pages or code examples on how to
handle using different config files. Are there specific things you
are looking for?
Rick