![]() |
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:
|
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)) |
Thanks princeton, I see how its done now :)
|
no problem ... I have a similar system.
make sure you place some checks when editing/deleting a thread/post ... eg. update datastore information |
Yea, I need to get on the ball with learning the datastore system vBulletin has been using. I get lazy :p
|
All times are GMT. The time now is 07:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|