|
|
Posted by petersprc on 02/18/07 22:49
In Smarty for instance, you can have dynamic content in a cached page
using the "{insert}" tag. CakePHP has a similar <nocache> tag. If
rolling your own, you could cache some content, and then run
preg_replace on it to insert your dynamic parts.
There's also PEAR Cache and Zend_Cache which are generic cache
containers, not template systems.
> Yes, that's what I'm doing now (near enough).
>
> My point was that many high hit websites cache the result of the php,
> so that the script doesn't have to be run at all. I could not see a
> way of doing that when user specific login details are displayed in
> the header.
[Back to original message]
|