The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cached Information
I was wondering how exacly is the process proformed to cache data. Like here on vBulletin.org. The forum poral seems to be cached information retrived from the database every 10mins?
I was wondering how I can do something simalar to this. Like if I wanted to get the latest 10 threads posted on my forum I could run a SQL query and it gives me the infomation everytime the page is refreshed. example: PHP Code:
|
#2
|
||||
|
||||
save it into datastore and and check timestamp
if (timestamp < TIMENOW) { DO QUERY; } else { use datastore info } another option is saving data into files (file name = md5(title+timestamp)) |
#3
|
|||
|
|||
Thanks princeton, I see how its done now
|
#4
|
||||
|
||||
no problem ... I have a similar system.
make sure you place some checks when editing/deleting a thread/post ... eg. update datastore information |
#5
|
|||
|
|||
Yea, I need to get on the ball with learning the datastore system vBulletin has been using. I get lazy
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|