I currently just save the serialized database results in a .txt file. Then on each page load I check the modification date on the text file, and if it's older than X seconds, I update it. Then the data is pulled from that file and pushed to the template. Right now I'm using this same method to display the latest threads and the threads with the most replies. It may not be ideal, but it works fine for me.
We use essential cookies to make this site work, and optional cookies to enhance your experience.