Hacker News new | ask | show | jobs
by e12e 4574 days ago
> Slow despite being so light in features. This one suprised me; the page is so miniscule in feature that I wonder why it's taking so long to render blog pages.

I agree, your blog is indeed slow to load. I'd guess putting varnish (or any caching proxy) in front of node would fix that, though -- have you tried?

Looks too me like the really slow part is loading assets -- are css files generated on each request? Or is there some simple tuning that can/should be done on the node server?

I'm assuming you've deployed as "production" (as per the ghost docs)? The other "obvious" thing to do is throw nginx in front, and run static assets via that (or any normal web server, really) -- but even node shouldn't be that slow assuming you have pretty low traffic?

Note, no affiliation with ghost or node -- but also a little surprised that such a simple site is as slow as it is. It's like the old wordpress (that seemingly was designed to benchmark how quickly mysql was able to do as many sequential, separate selects for a single page view as possible. AFAIK wp still does a bit of this, but the problem has been fixed by some semi-sane caching).