Re: Separating static and dynamic contents?
- From: "C. (http://symcbean.blogspot.com/)" <colin.mckinnon@xxxxxxxxx>
- Date: Mon, 7 Jan 2008 04:42:08 -0800 (PST)
On 7 Jan, 07:04, Gilles Ganault <nos...@xxxxxxxxxx> wrote:
On Sun, 6 Jan 2008 18:41:32 -0800 (PST), NC <n...@xxxxxxxxx> wrote:
It's not; you are confusing caching content with caching database
queries.
Thanks for the clarification.
If you cache queries, you simply turn on query caching in the MySQL
server; no specific calls from the application are necessary.
Am I right in saying that MySQL doesn't care from which web user the
query is coming: As long as it's in the DB cache, ie. it's a query
that is often made from web user, regardless of who they are, it will
be sent to the PHP process, significantly improving performance since
MySQL won't actually have to compute it and access the hard disk?
If it's in the MySQL cache, yes.
If your pages don't change particularly quickly, you should be looking
at setting caching information via the header() function and using a
caching reverse proxy.
C.
.
- Follow-Ups:
- Re: Separating static and dynamic contents?
- From: Gilles Ganault
- Re: Separating static and dynamic contents?
- References:
- Separating static and dynamic contents?
- From: Gilles Ganault
- Re: Separating static and dynamic contents?
- From: NC
- Re: Separating static and dynamic contents?
- From: Gilles Ganault
- Separating static and dynamic contents?
- Prev by Date: Re: does php require a client is present to execute?
- Next by Date: Re: Reducing load for LAMP app?
- Previous by thread: Re: Separating static and dynamic contents?
- Next by thread: Re: Separating static and dynamic contents?
- Index(es):
Relevant Pages
|