There are two components to optimizing the site speed of a WordPress website:

  1. Optimizing the web server’s setting directly.
  2. Optimizing WordPress.

Note: some WordPress site speed plugins will try and optimize your web server’s settings by altering your website’s .htaccess file.

1. Optimizing your web server for site speed.