4 ms·
My blog is set up this way, but with markdown files instead of SQLite. At startup the server loads the whole database of posts into memory and then writes rende
by zrail 5y ago
My blog is set up this way, but with markdown files instead of SQLite. At startup the server loads the whole database of posts into memory and then writes rendered pages out to disk as they're requested using a gem called Rack::FunkyCache. Nginx sits in front and serves the cached files once they've been generated.
I've been toying with loading the pages into SQLite to facilitate search for awhile. Thanks for the reminder!