The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Caching Data
Hello all,
I'd like to know a general idea how the caching system work in vBulletin (eg. cache post, thread...). The thing is I wrote a hack and it basically calls up something from database as the post is fetched without caching (query directly from database). Due to the size of the query that it somehow slows down the fetching process, and the whole server. Thus, I see that it's not efficient to have the script querys the same thing everytime. So if I could somehow cache the extra data of the hack into the post cache or something, that'd be awesome. So is there anyone know what I am talking about and how to do this, please share your thoughts. Thanks a lot in advance. |
#2
|
||||
|
||||
You could serialize the data and put it into the datastore.
|
#3
|
||||
|
||||
Thanks SirAdrian, could you also give me an example code (within vbulletin default) where the function is used?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|