Re: How should I cache database data for php?
| From: | val petruchek | Date: | Mon, 21 Jan 2002 16:31:33 +0000 |
| Subject: | Re: How should I cache database data for php? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81389@lists.php.net to get a copy of this message | ||
> > The greatest way of doing this is
> > 1. develope php-script for generating updated html from moved
php-script
> > and updating index.html (e.g. ;)
> > 2. develope another script or program which will call the first one
> > periodically (once an hour, e.g.)
>
> I like that.
> It sounds similar to the method I mentioned.
> What about browser detection and appropriate css generation etc?
You still can generate css depending on user_agent.
> Wouldn't the output that's saved be a little *too* static?
Depends on certain page properties... if current time (with seconds) is
printed there, it will be not 100% real, but in any other case everything
depends on how often second script will update it.
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:val@zliypes.com.ua