Cache or Query??
frostschutz Offline
Junior Member
**
Posts: 7
Joined: Jun 2010
Post: #5
RE: Cache or Query??
PluginLibrary offers an alternative caching method that avoids the database entirely. So it's a cache without autoload or persistence. It will be loaded on demand only.

It still uses the MyBB cache handlers though. By default that's the disk cache handler, but if you've set up your board with memcached or xcache, it will still use that.

However, without database, it means that if the cache is deleted for some reason, because you deleted the file, or memcache rebooted, or decided to throw it out to make room for something else, the only way to get it back is to regenerate it. MyBB's cache would just query it back from the database instead.

So which cache method to choose depends on whether you want or need MyBB's autoload and persistence, or not.
(This post was last modified: 02-04-2011 02:40 AM by frostschutz.)
02-04-2011 02:38 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Cache or Query?? - MattR - 01-22-2011, 09:18 AM
RE: Cache or Query?? - ZiNgA BuRgA - 01-22-2011, 11:38 AM
RE: Cache or Query?? - Firefox Wins - 01-31-2011, 02:04 AM
RE: Cache or Query?? - ZiNgA BuRgA - 01-31-2011, 08:17 AM
RE: Cache or Query?? - frostschutz - 02-04-2011 02:38 AM

 Standard Tools
Forum Jump: