3 ms·
1) Static site generation is generally faster. 2) Minimise all your resources. Use PNGquant, http://www.smushit.com/ysmush.it/ http://www.smushit.com/ysmush.i
by edent 12y ago
1) Static site generation is generally faster.
2) Minimise all your resources. Use PNGquant, http://www.smushit.com/ysmush.it/ http://www.smushit.com/ysmush.it/, or similar tools to make sure that you're not needlessly serving huge images. Do the same for video, JS, and CSS.
3) Turn on GZIP support! You'd be surprised at how much of a difference this makes. It will add a minuscule amount of overhead, but will save you in transfer times and bandwidth.
4) Manually set your caching headers to ensure that clients aren't requesting the same files again and again.
5) Ignore all of the above and get a CDN to do the hard work for you. I use https://www.cloudflare.com/ https://www.cloudflare.com/ - on a barely optimised WordPress site and it has coped with 50,000 views per day.
- escapologybb 12y agoHi, thanks for the response. Regarding number three, is that configuration option in nginx or Jekyll? Same question for number four? I might go with CloudFlare but they don't do SSL support unless you plump for the premium plan, which I might do if I don't manage to configure everything properly myself. Thanks again
- edent 12y agoI don't know the exact technologies you're using, but I'd assume they were in the underlying server - so nginx.