Kirby...what are you talking about, cache.php is just a proof of concept file to generate the cache.
The post data are stored in serialized arrays of all the data that is normally present in the rows of the post table, line for line.
The actual code I will make will be implemented directly into the showthread/newpost functions to handle reading from the cache instead of from the mysqldb.
Its not like im trying to remake a whole forum, Please understand, all this does is save Post array data to a flatfile, this does not mess with permissions or any of that crap, its just simply using the files to read the data, instead of from the mysql db.
Note: The post will still be stored in the db, it just wont be read from there when people view threads..
|