3 ms·
One of the main points of static sites is that they don't update terribly often. Forums, on the other hand, update constantly. You are wanting something with go
by cleverjake 12y ago
One of the main points of static sites is that they don't update terribly often. Forums, on the other hand, update constantly. You are wanting something with good caching (server side and client side), and thats about it. Otherwise, you are going to be regenerating the pages constantly on every post/update.
- oneeyedpigeon 12y ago"good caching" needs to be "stores in cache forever, unless an update is required, at which point, only the content that actually changes is updated in cache" to be as good as static files. In my experience, caching is never that good. What's the problem with writing to the fs on every POST? The number of GETs will still outweigh the number of POSTs significantly.
- midgetjones 12y agoWouldn't Russian Doll caching tick that box?
- michaelt 12y agoIt's my understanding that forums like HN and Reddit don't regenerate the front page for every post or view; rather, it is regenerated every second or two and cached in RAM. Of course, it's unlikely you'd run a forum as big as HN or Reddit on a Raspberry Pi.
- mtdewcmu 12y agoA static forum website seems like a contradiction in terms. Static means unchanging and forums must change by definition. I guess the author means the site will serve .html files? The site could not be completely static, because something must be live to handle POST requests.