Quote:
Originally posted by Arty
I assume you are asking about Zend Performance Suite (the one with the cache license)
For example, if your php script needs to displays time by seconds or you'll need current copy of mysql data you cannot cache those (or just those parts in scripts).
If you do, they will continue show same data for 360 seconds (you can change that). When timed out, they'll update those data again.
Also you should not cache POST & GET operations.
|
I disagree on this, however you it all depends on the setup. You can do partial page caching on the querries you need to be less dynamic, and you can tell it how long to cache everything your not limited to 360 seconds at all. Example we display a stats summary on every page for our users, this has a lot of querries in it there is no reason to go to the db everytime for this data, so I've cached it on a 5 min interval which has greatly decreased the load on the slave mysql servers used to produce this data.
As for caching GET options, you might want to cache get options to a page, depending on the situation, now if it's somethign like a join form your obviously not going to want to cache that.
as for caching the time? what would you benifit by this no real load benifits there, and if you did cache the time maybe cache it so it's relevant to the rest of the cached data.