SG Optimizer – Our WordPress Plugin

In 2012 we released a SiteGround WordPress plugin. Its purpose was to connect the WordPress installations of our users with our caching service - the SuperCacher. For many years all updates we have made to the plugin were only related to the caching functionality. However, in the last few months we have added two completely new functionalities (HTTPS switch and PHP 7.0 updater) and have changed the plugin name to SG Optimizer. To learn more about what is now included in the SG Optimizer read below.

Make your site faster with our SuperCacher

So, can you still use the plugin to configure your SuperCacher? Yes, and we highly recommend you do! As always, in order to take advantage of the dynamic caching and increase drastically the performance of your site you need to: use GrowBig or a higher hosting plan, switch on the service from your cPanel, and then switch on the service in the SuperCacher Config section of the SG Optimizer plugin. To learn more refer to our detailed SuperCacher tutorial.

Configure HTTPS connection with a click

You can also use the SG Optimizer to enable HTTPS with a single click. We’ve been automatically installing Let’s Encrypt certificates to all new domains since the end of 2016 and we wanted to make it possible for everyone to easily and effortlessly enable HTTPS for their WordPress site. The moment your site starts working through https, the HTTP2 protocol kicks in automatically since it’s enabled on all SiteGround servers. This means that on top of having your website loaded in compliance with the latest Google and Chrome encryption requirements you will also receive performance benefits that come from using the HTTP2 protocol.

Check and update your PHP Version

We’ve already written few blog posts on this topic but I can’t get tired of emphasizing the amazing performance boost that using PHP 7.0 and above gives to your site. In a major effort to increase the use of PHP 7.0 or higher for the sites of our WordPress users, we've developed the third major functionality to the SG Optimizer. Thanks to this new addition you can check if your site is compatible with PHP 7.0, and upgrade to it right from your WordPress admin panel. See more in our detailed PHP 7.0  blog post.

As you can see all the functionalities in the SG Optimizer plugin help you use the systems and resources available on the SiteGround servers in order to make your WordPress faster and safer. If you have not installed the plugin yet, we strongly recommend you do it now!

Product Development - Technical

Enthusiastic about all Open Source applications you can think of, but mostly about WordPress. Add a pinch of love for web design, new technologies, search engine optimisation and you are pretty much there!

70 Comments

  1. Reply April 5, 2017 / 06:28 GuidoSiteGround Team

    Hi Hristo! Did the SG team eventually fix the issues with the PHP7 checker? Namely, the fact that it relies on WP cron and the fact that it often hangs.
    Thanks,
    Guido

    • Reply April 6, 2017 / 01:49 Hristo PandjarovSiteGround Team

      The plugin runs well on the majority of cases. I wouldn't say it's often causing issues. Sometimes, restrictive plugins, sites with very high number of plugins etc. interfere with it's work but in such cases our support team can step in and help you out with the check and switch 🙂

  2. Reply April 6, 2017 / 15:06 EoinSiteGround Team

    Is there a Joomla! version?

    • Reply April 10, 2017 / 00:25 Hristo PandjarovSiteGround Team

      I am afraid that we don't have the full functionality added to our Joomla plugin yet.

  3. Reply April 6, 2017 / 20:34 FedericoSiteGround Team

    Then, I don't these 2 plugins? Really Simple SSL and WP Super Cache? Please send me yiour comments, would appreciate them.
    Cheers!
    Federicio

    • Reply April 10, 2017 / 00:26 Hristo PandjarovSiteGround Team

      Yes, you can disable both if your Dynamic cache is configured properly and SSL switch is turned on in SG Optimizer.

  4. Reply April 6, 2017 / 21:14 ChrisSiteGround Team

    How much of a speed increase can you expect from using the SG Optimizer?

    • Reply April 10, 2017 / 00:27 Hristo PandjarovSiteGround Team

      Using our Dynamic caching has dramatic effect on the loading speeds of the majority of sites. Of course, it depends on the actual website, what plugins it uses, how well it's written, etc.

  5. Reply April 6, 2017 / 23:56 VerdiSiteGround Team

    Really awesome that you keep innovating / improving your services. Especially when they are as tangible as this. Thank you guys!

  6. Reply April 7, 2017 / 06:11 SanderSiteGround Team

    Good News! I'm curious about further development. When will we be able to use mod page speed together with the caching options. Also when will siteground fix the conflict between mod page speed and pages containing contact form 7 forms?

    • Reply April 10, 2017 / 00:28 Hristo PandjarovSiteGround Team

      It's actually PageSpeed that has issues and unfortunatelly I don't see this happening any time soon. I am curious about Contact Form 7 though. I manage the plugin and all support queries for it but you're the first to mention such things, could you elaborate?

  7. Reply April 7, 2017 / 06:41 PavelSiteGround Team

    Hi hristo,

    the SG caching system really brings the results. Thank you for that.

    We wanted to use the plugin for easy HTTPS transition but had to leave it thoug. The problem was that it redirected not only the site links but also all off-site links to https which is unusable if some of those go to http only sites. In my opinion, the plugin should not touch the off-site links.

    Is there any development in that?

    Thanks,
    Pavel.

    • Reply April 10, 2017 / 00:29 Hristo PandjarovSiteGround Team

      If offsite resources aren't set to HTTPS you will get the Insecure Content warning on your site so it will not work anyway. That's why we've decided to rewrite those too.

  8. Reply April 7, 2017 / 08:12 ToniSiteGround Team

    I have W3 Total Cache installed on my WP site but would love to move to Super Cacher. I read uninstalling W3 completely is very difficult and requires deleting specific files and not just deactivating and deleting it from my plug-in pane.

    I would love to take advantage of HTTPS and other performance enhancing tools. Will SG Customer Service help me remove W3 as part of my hosting plan?

    • Reply April 10, 2017 / 00:30 Hristo PandjarovSiteGround Team

      Sure thing, just open a ticket in your Help Desk and ask my colleagues to completely uninstall W3TC, clear all caches and configs and set the SG Optimizer for you 🙂

  9. Reply April 7, 2017 / 12:10 Gary McHughSiteGround Team

    Love it but would like to see an option to turn off auto flush before I get rid of WP rocket.

    • Reply April 10, 2017 / 00:25 Hristo PandjarovSiteGround Team

      WP Rocket does a lot of good things optimizing your website that SG Optimizer does not like minifying your JS and CSS files. Note, that we do have auto flush for our plugin so if you only modify content you shouldn't have to do that manually.

      • October 24, 2017 / 01:45 Angus YoungSiteGround Team

        I did some tests on GTmetrix and it looks like WP Rocket doesn't improve speed and scores if SuperCacher (SG Optimizer) and Autoptimize are installed and active. Is maybe WP Rocket redundant on Siteground?

      • October 25, 2017 / 00:24 Hristo PandjarovSiteGround Team

        It doesn't make sense to use WP Rocket if you're using it only for caching. Our caching system is faster. You can use it for minification and CSS + JS optimization. However, in case you're already using Autoptimize for that, you're simply doubling the same functionality thus not having performance boost.

  10. Reply April 7, 2017 / 16:47 SterlingSiteGround Team

    does the plugin do a 301 redirect of your domain to https?

    • Reply April 10, 2017 / 00:31 Hristo PandjarovSiteGround Team

      Yes, we add a rule in the .htaccess file that handles the redirection.

      • September 3, 2017 / 00:15 RonSiteGround Team

        Hi Hristo,

        When I switched to HTPS, the rule got added at the wrong level. I run WordPress in a sub-folder and the redirects needed to be (manually) moved up a level to public_html. Maybe you have a bug?

      • September 5, 2017 / 01:03 Hristo PandjarovSiteGround Team

        The rules are supposed to be added where the installation is located. In such custom structuring, you will need to tweak them accordingly.

      • September 5, 2017 / 12:17 RonSiteGround Team

        Yep, I figured that out after a week of my redirects not working!

        It would be great to have a user guide to exactely what the plugin does - when switching on the https setting, while it's running, and if and when it gets switched off.

        To a non-techy person, the actions of the plugin related to https are a bit of a mystery 🙂

      • September 7, 2017 / 03:16 Angelina MichevaSiteGround Team

        Hi Ron,
        Thank you for the suggestion about creation of a SG Optimizer user guide. Actually we are planning improvements of our materials on the plugin functionalities that will include more detailed documentation of how it works as well. Stay tuned for upcoming updates on that.

      • September 7, 2017 / 04:29 RonSiteGround Team

        Documentation sounds great!

  11. Reply April 8, 2017 / 14:36 Ron WenSiteGround Team

    Ahh I've run into the same issues, scan never completes. Thanks for the answer Hristov!

  12. Reply April 8, 2017 / 14:49 MurtuzaSiteGround Team

    I tried to upgrade one of my client's website to php 7 using this plugin which brought messed up the entire wordpress install and i had to reinstall to get the website working again. The plugin did the checks and said the website is compatible with php 7 but still it didn't work.

    • Reply April 10, 2017 / 00:33 Hristo PandjarovSiteGround Team

      Please post a ticket in your Help Desk or switch the PHP Version manually from the PHP Version Manager tool in cPanel.

  13. Reply April 9, 2017 / 23:45 RaySiteGround Team

    If I install SG Optimizer on my SG hosted site, I should then get rid of my other caching plugins? I currently have WP Super Cache running.

    • Reply April 10, 2017 / 00:32 Hristo PandjarovSiteGround Team

      Yes, if the Dynamic Caching is enabled and configured, it will outperform any full page plugin including WP Super Cache.

  14. Reply April 17, 2017 / 23:11 AangSiteGround Team

    I would prefer the use of the SG Optimizer, how would I configure the CDN as it is part of the W3TC configuration.

    • Reply April 18, 2017 / 00:39 Hristo PandjarovSiteGround Team

      You can still use both. Just disable all caching functionality from W3TC and keep the CDN integration on.

  15. Reply April 19, 2017 / 21:16 BarayudaSiteGround Team

    Hi thanks for the post. If I testing the URL, and get NOT CACHED, what can I do? to make sure the URL cached?

    • Reply April 20, 2017 / 07:25 Hristo PandjarovSiteGround Team

      First, make sure that the Dynamic caching is enabled in the SuperCacher tool in cPanel (the second tab). Then, you can use the cache status tool in the SG Optimizer plugin in your WordPress admin panel. If it says NOT CACHED, open a ticket in your Help Desk and our support team will tell you what's blocking our system from serving cached results.

  16. Reply April 20, 2017 / 04:11 Easy tailor AppSiteGround Team

    Really awesome that you keep innovating .

  17. Reply April 25, 2017 / 05:26 EirinSiteGround Team

    After forcing https, it changed all my fonts, and support service isn`t able to help other than restoring the change made by the plugin :/ Sorry it didn`t work and spending 1 hour on nothing. I wouldn`t recommend it unfortunatley..

    • Reply April 29, 2017 / 00:42 Hristo PandjarovSiteGround Team

      You're probably loading your fonts insecurely and when a page is loaded via https insecure resources are not even loaded thus causing your site to default to standard fonts. Unfortunatelly, we can't automate 100% of the process and some minor adjustments are needed sometimes.

  18. Reply July 6, 2017 / 09:32 ArbySiteGround Team

    The PHP checker times-out:

    • Reply July 7, 2017 / 02:01 Hristo PandjarovSiteGround Team

      You probably have a lot of active plugins. Please, contact our support team for further assistance.

  19. Reply September 24, 2017 / 22:51 Danny KirkSiteGround Team

    Hi, I am using comet cache pro and was wondering what is the best way to integrate it with SG optimiser so I get the best speed results.

    Thanks

    Danny

    • Reply September 25, 2017 / 00:19 Hristo PandjarovSiteGround Team

      For full page caching I'd go for the SuperCacher and SG Optimizer, there's currently no plugin that can produce better results than it. If you use that plugin for other improvements like minification for example, you can keep that functionality.

  20. Reply September 25, 2017 / 01:55 Danny KirkSiteGround Team

    Hi i have disabled comet cache pro and installed SuperCache. Are there specific settings i should have enabled / disabled / for both plugins

    Thanks

    Danny

    • Reply September 25, 2017 / 04:30 Hristo PandjarovSiteGround Team

      Since you've disabled the other plugin completely - no. Just make sure you have the Dynamic Caching enabled in the SuperCacher Tool in cPanel and then the Dynamic Caching and Auto Flush enabled in the SG Optimizer plugin. You can use the test functionality on the plugin's page to make sure your index and other important pages for you are cached.

  21. Reply September 26, 2017 / 00:22 Daniel KirkSiteGround Team

    how do i minify js and css with the plugins

    • Reply September 26, 2017 / 00:47 Hristo PandjarovSiteGround Team

      SG Optimizer does not provide such functionality at this moment. However, you can try Autoptimize, it's a great plugin that plays very well with our caching solution.

  22. Reply September 26, 2017 / 03:01 AsafSiteGround Team

    Hello, I have a cloudflair installed. I have seen the correspondence and would like to make sure that before I activate the SG Optimizer what is the exact procedure. And I mean Step 1, Step 2 and so on. Imagine you are speaking to an ape (well - just to make a point 🙂

    • Reply September 27, 2017 / 02:00 Hristo PandjarovSiteGround Team

      Most of the functionality is basically ON/OFF switches but you can take a look at the documentation in the official repo page, everything is descriebd there: https://wordpress.org/plugins/sg-cachepress/

  23. Reply October 25, 2017 / 15:47 Michael GlennSiteGround Team

    Hi, I'm using Cloudflare and SG Optimizer, but my site is still really slow. According to Google PageSpeed it looks like I need to:

    Reduce server response time
    Leverage browser caching
    Eliminate render-blocking JS and CSS
    Optimize images
    Minify HTML and CSS

    How can I best achieve this on Siteground? Should I add Autoptimizer or WP Rocket? Is one of those plugins better than the other, or do they both do the same exact things?

    I'm a website owner who is *slowly* learning web design and development, so if you can explain things in a non-technical way that would be tremendously helpful!

    • Reply October 26, 2017 / 00:02 Hristo PandjarovSiteGround Team

      Checked your website. It seems, you're loading a lot of resources. This said, a plugin like Autoptimize or WP Rocket will have great effect on your loading speeds!

      • October 26, 2017 / 08:16 Michael GlennSiteGround Team

        Thanks Hristo. Is there one that you would recommend over the other?

      • October 31, 2017 / 01:18 Hristo PandjarovSiteGround Team

        Both do great work, but one is free the other is paid. Each one works better in certain cases. It would be best if you test on your particular site.

  24. Reply November 4, 2017 / 23:28 MitchSiteGround Team

    I'm curious. I have SG Optimizer installed and Dynamic cache activated. I also have a Cloudflare account with minify on. I do not have memcache on in SG as it somehow wreaks total havoc and crashes the server. (Haven't figured out that conflict yet.)

    I also have Autoptimize active. As well as WP Disable (turn off heartbeat, no gravitars, several other useful functions). And Plugin Optimizer (fantastic for selective Plugin load).

    I know I load tons of requests and I'm trying improve performance.

    Anyway, are you saying with that setup and SG Optimzer that I would get no further speed benefit with WP Rocket?

    And related, would there be any benefit with cloudflare Rocket Loader active?

    Thank you.

    • Reply November 7, 2017 / 01:15 Hristo PandjarovSiteGround Team

      Autoptimize should do pretty good job at handling your CSS and JS files and if working properly the Dynamic caching is unbeaten in terms of speed. There won't be a signifficant difference switching it with another plugin. As to your other question, it really depends on the JS you're using and how you load it. I would give it a try and measure changes.

  25. Reply November 14, 2017 / 21:56 Jens KirkSiteGround Team

    Hi 🙂

    Is SG Cache restricted to only SiteGround servers?

    • Reply November 15, 2017 / 01:05 Hristo PandjarovSiteGround Team

      Yes, the idea for the plugin is to link your WordPress site with our services 🙂

  26. Reply November 17, 2017 / 02:23 UmangSiteGround Team

    Hi, This sounds good, We recently shifted our website to SiteGround. So can SG Optimizer will help in optimizing the speed of our website?

    Thanks!

    • Reply November 17, 2017 / 02:26 Hristo PandjarovSiteGround Team

      You should totally try it!

  27. Reply November 23, 2017 / 05:48 Roger J PivonkaSiteGround Team

    Our SG website [bmwmoc.org] is running on a shared server. we currently are using W3Total Cache with some good effect. Would I get even BETTER performance boost by using SG Optimizer? I would like to also use SG Optimizers check for using PHP 7.

    • Reply November 23, 2017 / 08:26 Hristo PandjarovSiteGround Team

      Yes, our service outperforms any plugin that stores cached content in files including W3TC 🙂

  28. Reply December 27, 2017 / 05:54 AJ McKaySiteGround Team

    Hey All,

    SuperCacher's Dynamic Cache is indeed fast, but problematic on two counts --

    1.) The cache expires quite quickly, even for pages that have not undergone any changes. So, this creates lots of first-come-slow-load events for users and these events are particularly pronounced for websites that don't get constant or consistent traffic.

    2.) When the Dynamic cache expires, it does not self-prime: A user must hit the page to again cache the page.

    So, while Dynamic Cache is very fast, it ultimately doesn't matter if people are consistently hitting uncached pages.

    Long story short, until and unless a cache warmer/primer is added to SuperCacher's Dynamic Cache, it can't be objectively argued as being the first, best full page caching solution.

    Be well,
    AJ McKay
    Managing Partner
    WpFASTER

    • Reply January 9, 2018 / 04:39 Hristo PandjarovSiteGround Team

      Sorry for the late reply, holidays made everything slower than usual 🙂 For our shared services we need to have a balanced solution that does not cache over agressivelly. We're constantly tweaking our configuration and in fact I think we will soon increase the default caching time. Plus, we're optimizing the way we purge the cache for best performance. Pre-heating is good but has downsides too. Surelly, a cached response from our caching system is faster than a response you can get from any plugin due to the way technology works. As to the overall performance, that's really subjective and depends on the particular site. Note, that AutoFlush is just an option, you can set a cron to clear the cache, disable the AutoFlush and have stale caching working for you.

    • Reply February 7, 2018 / 01:36 AaronSiteGround Team

      That is exactly my experience, AJ. Cached pages load quickly, but the cache expires after 10 minutes and isn't re-loaded until someone visits the site. Until I can get a steady stream of visitors every 9 minutes or so, I can expect every new visitor to have to wait to download the un-cached site. Not exactly as advertised. Chron job? Sure, but then why am I paying SiteGround for their SuperCacher hosting? I wish I had seen this thread before I signed up.

      • February 8, 2018 / 01:15 Hristo PandjarovSiteGround Team

        Cache regenerates pretty fast so that's usually not an issue. However, we will increace the caching time. At the moment, just implementing a mechanism to actually measure the dynamic/cached ratio on all servers so we can come up with the best possible number for default caching time. As to the cron job case - it's ust an option you can choose. When we do services, we mostly do default setting but still leave the option for customization.

  29. Reply December 30, 2017 / 06:24 Andrea CarrattaSiteGround Team

    I have a dubt. Situation:
    site: andreacarratta.it
    Dynamic Cache & Auto Purge: enable (from wp-admin)
    Autoptimize: active

    When I open my site with anonimous navigation I see:
    - Autoptimize file (and size) grow up ... OK
    BUT
    If I open my page HTML I never see "cache/autoptimize/" path

    is it correct?
    I'd like to optimize html / css / js ... what can i do?

    thanks a lot!

    • Reply January 2, 2018 / 06:38 Hristo PandjarovSiteGround Team

      You should check the Autoptimize options that are enabled. If the CSS and JS files are being combined, then the source should be from the cache folder. I would recommend contacting the plugin developers on that matter. They should be able to assist you better with that.

  30. Reply January 4, 2018 / 09:41 abdelrahmanSiteGround Team

    hello,
    after the plugin updated i can't access my rest API from the application that gives me an error
    ( Error Expected ':status' header not present...)

    i asked if anything i need to update or make a configuration to use an API from my website

    • Reply January 8, 2018 / 09:21 Hristo PandjarovSiteGround Team

      I would ask you to post a ticket in your Help Desk, there isn't anything in the new plugin configuration that should affect this.

  31. Reply February 22, 2018 / 18:23 KennySiteGround Team

    Hello Hristo,

    I have just come off chat with support and thought that I should post a reply here, as I was reading this prior to contacting support.
    I am using Buddypress, bbforum and geo directory. Geo directory have their own cache system called GDbooster. (there have been a few queries re using supercacher in their documentation as siteground gets bigger and bigger- but no options). They simply state that geo directory is compatible with WP Supercache and autoptimize.

    I wanted to try out siteground system as my other site is quite fast using supercacher, autoptimize and cloudflare.

    But support tells me that I cannot exclude loggedin users (I have people listing themselves, all logged in and will be using woo commerce).

    This is a big pity, is this capability of not serving cached pages to logged in users going to be available, looked at?

    • Reply February 23, 2018 / 02:08 Hristo PandjarovSiteGround Team

      Probably some misunderstanding. Our caching system automatically excludes all logged-in users and serves them with dynamic content. Furthermore, for WooCommerce, even if not logged we monitor certain cookies so if they add something to their cart for example, visitors will start getting only dynamic content. As for the GDbooster plugin, we have a function for plugin developers to clear the cache so they are most probably utilizing it.

Reply

* (Required)