PDA

View Full Version : Enable vB caching in a mod


jscieza
11-08-2010, 04:16 PM
Hello,

I'm using this mod: Subscribed Threads in Notifications (https://vborg.vbsupport.ru/showthread.php?t=250461)

This is what the programmer says about the two versions of his mod:

The memcached-enabled version caches the new thread count for 5 minutes, thus significantly reducing the total number of queries made to the database and makes this mod big-board safe! Instead of adding 1 global query per pageload for users with no subscribed threads, and 2-3 queries for all others, the memcached-enabled version only executes those queries once every 5 minutes (note that this value can be adjusted in the plugin file to suit your needs, but there's no front-end option for it). You can read more about my memcached query-saving approach for vBulletin plugins here. Important note: if using the memcached version, make sure at least 1 memcached server is configured in config.php, and that memcached is installed as a php module.

However since I'm using xCache I can't make use of his cache enabled version because it has been developed exclusively for Memcache. Hopefully a programmer with a bit of free time can adapt the product-adam_subsct_NOMEMCACHED.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=123057&d=1287989989) to make use of the vB caching so whatever caching system you're using (i.e. xCache, APC, Memcache, etc.) the mod will take advantage of the cache!

Thank you,
Jonathan

jscieza
11-10-2010, 06:12 PM
Please.

jscieza
11-12-2010, 04:52 PM
Please x 2.