Reply to Re: how to cache pages with login names

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация