rails/rails-docs-server

Improve Lighthouse Scores & overall load times

MikeRogers0 opened this issue · 0 comments

I have a pretty slow internet speed (4G), so I'm super keen to make the Guides & API documentation as awesomely fast to load as possible.

What is it I'm trying to solve?

The guides / documentation is a really good source of information & I want to make sure it always loads fast, along with encourages search engines to display the most recent docs.

Lighthouse & Pingdom scores

image

image

Approaches I'd like to consider

  • Add asset digests so we can easily expire assets
  • Combine assets (CSS/JS) into single minified files.
  • Use a CDN to serve content closer to the user (The current server is in the US, which adds milliseconds to the request time)
  • Add expiry headers when serving assets from the server