Environment Controls in Speed Optimizer
Table of Contents
HTTPS Enforce
Once you have the SSL issued, you can enable the HTTPS through the Speed Optimizer. This will configure your site to work correctly via HTTPS and force a secure connection to it by adding a rule in your .htaccess file. Because all our servers support the innovative and faster HTTP2 protocol, SiteGround clients running their site via HTTPS can also benefit from it as well.
Fix Insecure Content
In most cases, this does not need to be switched on. Use it only if you notice insecure/mixed content warnings on your site after switching the HTTPS. This option will dynamically rewrite insecurely loaded resources to go through https. Even though we’ve developed the re-write to be super fast, it will add some unnecessary overhead to the loading process of your site if it is already configured and working correctly via HTTPS.
GZIP Compression
Enables compression of the content that’s delivered to your visitors’ browsers, improving the network loading times of your site.
Browser Caching
Adds rules to store the static content of your site longer in the visitors’ browser cache which improves the site performance.
WordPress Heartbeat Optimization
By enabling this option, you can control the WordPress Heartbeat API. By default, the WordPress Heartbeat API checks every 15 seconds on your post edit pages and every 60 seconds on your dashboard and frontend whether there are scheduled tasks to be executed. This can generate high CPU usage if you leave browser tabs in which you’re logged in WordPress opened for a longer period of time. With this option, you can make the checks run less frequently or completely disable them. You have the option to change WP Heartbeat for three different locations and also modify the frequency of the Heartbeat.
Scheduled Database Maintenance
To see the available optimizations related to this option click the Edit button.
This will show a list of all available database maintenance tasks from which you can choose. It is recommended to enable all optimizations for the best results.
When enabled, this option schedules a database maintenance task that runs once every week. The maintenance will be performed instantly upon next site page load. So once you enable it and then go to your homepage – the maintenance will run and your database will be cleaned. Next it will be cleaned automatically after 7 days.