Linux does some sort of page caching automatically and its the reason for
there never being any "Free memory" in a Linux system.  So if you read your
db via XML and php and develop a page from that using a CSS style sheet
Linux will cache it as a Page.(Took us forever to catch that one, something
to do with CSS and no one really knows the answer that we have seen)

As for a query cache edit your My.cnf and
query_cache_type 1   2 = Cache only if script says to(my suggested setting,
make your coders code for caching instead of catch all settings)

This does cause some grief if the data changed you can see a cached result
instead.(Even though your not supposed to).

Also if your running in PPC feeds you can't cache those as you will hit
their timeouts and get no redirect results.

Our PPC XML Feed (http://www.firebasesofware.com) only allows the link to be
valid for 3 minutes before your visitor will be redirected to our front
door.  This is not a traffic grab.  Just 94% of cached results are typically
fraud clicks so we don't allow the caching of results.  We are more cautious
than most (they use 5 minutes) only because we have a very high paying feed
and it attracts the low life's of the internet world.

Thanks
Donny Lairson
President
29 GunMuse Lane
P.O. box 166
Lakewood NM 88254
http://www.gunmuse.com
469 228 2183


-----Original Message-----
From: Mister Jack [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 4:49 AM
To: mysql@lists.mysql.com
Subject: Client Side Query cache


Hi,

I was wondering if there is any query cache code/lib somewhere to
cache certains queries ?
I'm always doing the same queries, (and the result never change, so I
could spare the round-trip to the server), but caching each tine the
data for it is a bit of work.
Thanks, for your suggestions

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to