Simple-as-pi PHP blog without a database - The WWW

Users browsing this thread: 1 Guest(s)
hades
Long time nixers
(04-12-2013, 05:17 AM)z3bra Wrote: Great post, and argument against file based blogs. But don't you think that serving blog posts from a database can be slower than simply accessing plain HTML files (think about good old HTML pages, not fetched through PHP).

I personally write my blog in plain HTML, which is totally static. Moreover, I host it myself, so I don't have any SSD to "speed up" file access, so would you think That (in my case) it'd be better for me to switch to a DB based posting ?


Well, remember, both pages have a function that counts all files in the posts folder, so if you have a ton of files, that can slow it down I guess. That, and blog.php lists every single post, but you could change it to list only the first 20.


Messages In This Thread
RE: Simple-as-pi PHP blog without a database - by hades - 04-12-2013, 01:23 PM