.htaccess

Use .htaccess to redirect HTTP to HTTPs

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	 
	RewriteCond %{ENV:HTTPS} !=on
	RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
	 
	# BEGIN WordPress
	RewriteRule ^index\.php$ - [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /index.php [L]
</IfModule>
# END WordPress

## EXPIRES CACHING ##
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresByType image/jpg "access plus 1 year"
	ExpiresByType image/jpeg "access plus 1 year"
	ExpiresByType image/gif "access plus 1 year"
	ExpiresByType image/png "access plus 1 year"
	ExpiresByType text/css "access plus 1 month"
	ExpiresByType application/pdf "access plus 1 month"
	ExpiresByType text/x-javascript "access plus 1 month"
	ExpiresByType application/x-shockwave-flash "access plus 1 month"
	ExpiresByType image/x-icon "access plus 1 year"
	ExpiresDefault "access plus 0 hours"
</IfModule>
## EXPIRES CACHING ##

<IfModule mod_deflate.c>
	<filesMatch "\.(js|css|html|php)$">
		SetOutputFilter DEFLATE
	</filesMatch>
</IfModule>

PageSpeed Insights

Leverage browser caching

GZIP compression + htaccess deflate