There are two components to optimizing the site speed of a WordPress website:
- Optimizing the web server’s setting directly.
- 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.