SG Optimizer

Omschrijving

This plugin is designed to link WordPress with the SiteGround Performance services. It WILL NOT WORK on another hosting provider.

The SG Optimizer plugin has few different parts handling speciffic performance optimizations:

Configuratie

For detailed information on our plugin and how it works, please check out our SG Optimizer Tutorial.

SuperCacher Settings

In this tab, you can configure your Dynamic Caching and Memcached. Make sure you’ve enabled them from your cPanel before using the plugin. You can enable/disable the automatic cache purge, exclude URLs from the cache and test your pages if they are properly cached.

Environment Optimization

Here, you can force HTTPS for your site, switch between different PHP Versions (compatibility check available), and enable or disable Gzip Compression and Borwser Caching rules for your site.

Frontend Optimization

In this tab, you can enable or disable Minification of your HTML, JS and CSS resources, remove the Emoji support and remove the query strings from your static resources.

Image Optimization

Here, you can enable or disable optimization for your newly uploaded images, bulk optimize your old ones and enable lazy loading for your site images.

Plugin compatibiliteit

If your plugin does not trigger standard WordPress hooks or you need us to purge the cache, you can use this public function in your code:

if (function_exists('sg_cachepress_purge_cache')) {
sg_cachepress_purge_cache();
}

Preferrably, you can pass an URL to the function to clear the cache just for it instead of purging the entire cache. For example:

if (function_exists('sg_cachepress_purge_cache')) {
sg_cachepress_purge_cache('https://yoursite.com/pluginpage');
}

WP-CLI ondersteuning

In version 5.0 we’ve added full WP-CLI support for all plugin options and functionalities.

  • wp sg purge (url) – purges the entire cache or if URL is passed
  • wp sg memcached enable|disable – enables or disables Memcached
  • wp sg forcehttps enable|disable – enables or disables HTTPS for your site
  • wp sg phpver check (–version=) – checks your site for compatibility with PHP 7.1 or the version you specify
  • wp sg optimize – enables or disables different optimization options for your site:
  • wp sg optimize html enable|disable – enables or disables HTML minification
  • wp sg optimize js enable|disable – enables or disables JS minification
  • wp sg optimize css enable|disable – enables or disables CSS minification
  • wp sg optimize querystring enable|disable – enables or disables query strings removal
  • wp sg optimize emojis enable|disable – enables or disables stripping of the Emoji scripts
  • wp sg optimize images enable|disable – enables or disables New image optimization
  • wp sg optimize lazyload enable|disable – enables or disables Lazy loading of images
  • wp sg optimize gzip enable|disable – enables or disables Gzip compression for your site
  • wp sg optimize browsercache enable|disable – enables or disables Browser caching rules

Eigenschappen

Om de plugin goed te laten werken, moet je server aan de volgende criteria voldoen:

  • SiteGround account
  • WordPress 4.7
  • PHP 5.5
  • Als je site niet bij SiteGround wordt gehost, zal deze plugin NIET WERKEN omdat deze afhankelijk is van een specifieke server configuratie.

Our plugin uses a cookie in order to function properly. It does not store personal data and is used solely for the needs of our caching system.

Schermafdrukken

  • The Super Cacher Settings tab handles your Dynamic caching and Memcached. Here, you can exclude URls from the cache, test your site and purge the Dynamic caching manually.
  • In the Environment Optimization tab, you can force HTTPS for your site, switch PHP versions and enable Gzip and Browser Caching rules.
  • The Frontend Optimization tab allows you to Minify HTML, CSS & JS, as well as to remove query strings from your static resources and disable the Emoji support.
  • The Image Optimization tab allows you to optimize your Media Library images, aswell as adds Lazy Loading functionality for your site.
  • Multisite Only! In the Global Settings tab, you can configure all options that are global for your network.
  • Multisite Only! In the Per Site Defaults tab, you can configure how the new sites, added to your network will be setup.

Installatie

Automatische installatie

  1. Ga naar Plugins -> Nieuwe toevoegen
  2. Zoek naar “SG CachePress”
  3. Klik op de installeren knop onder de SG CachePress plugin
  4. Als de plugin is geïnstalleerd, klik dan op de Activeer plugin link

Handmatige installatie

  1. Log in op het WordPress Dashboard en ga naar Plugins -> Nieuwe toevoegen
  2. Selecteer het “Uploaden” menu
  3. Klik op de “Bestand kiezen” knop en selecteer het SGCachePress.zip bestand die je gedownload hebt
  4. Klik op de “Nu installeren” knop
  5. Ga naar Plugins -> Geïnstalleerde plugins en klik op de “Activeer” link onder de WordPress SG CachePress regel.

Beoordelingen

It just works

Someone else already said it, but I also want to borrow Apple’s mantra and say it to.

So much easier to configure than a certain other popular caching plugin. I can now get on with creating content to attract visitors instead of spending seemingly endless hours fiddling with plugins that need nothing short of a Masters in computer sciences to use, and when after said hours have been spent, you still don’t notice a difference in speed. With SG Optimizer you just set it and forget it, so to speak. Together with their server configurations there is a marked improvement in speed. This is why it works best when you host with SG.

Who needs a CDN when your host is already doing such a great job! 🙂

Fantastic work (version 5.0+)

Hey guys,

Just wanted to say that I’m extremely happy with the new version of the plugin (5.0.4).
I had fast websites, but now they are even faster.

From 1.8 and 2.0 seconds to 1.3 and 1.5, all with 30 seconds of clicking a few switches. How cool is that?

Thank you for your great work, keep it up!

Lees alle 50 beoordelingen

Bijdragers & ontwikkelaars

“SG Optimizer” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“SG Optimizer” is vertaald in 6 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “SG Optimizer” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

Version 5.0.7

  • Fixed bug with notifications removal
  • Fixed bug with modifying wrong .htaccess file for installations in subdirectory
  • Flush redux cache when updating to new version
  • Improved check for existing SSL rules in your .htaccess file
  • Added check and removal of duplicate Gzip rules in your .htaccess file
  • Added check and removal of duplicate Browser caching rules in your .htaccess file

Version 5.0.6

  • Memcache issues fixed. Unique WP_CACHE_KEY_SALT is generated each time you enable it on your site.
  • Better status update handling
  • Added option to start checks even if the default WP Cron is disabled (in case you use real cronjob)

Version 5.0.5

  • Fixed Compatibility Checker progress issues.
  • Fixed images optimization endless loops.
  • Changed php version regex to handle rules from other plugins.

Version 5.0.4

  • Fixed CSS minification issues.
  • Add option to re-optimize images.
  • Allow users to hide notices.

Version 5.0.0

  • Complete plugin refactoring
  • Frontend optimiztions added
  • Environment optimizations added
  • Images Optimizatoins adder
  • Volledige WP-CLI ondersteuning
  • Betere ondersteuning voor multisite
  • Verbeterde interface

Version 4.0.7

  • Fixed bug in the force SSL functionality in certain cases for MS
  • Added information about the cookie our plugin uses in the readme file

Version 4.0.6

  • Bug fixes
  • Better https enforcement in MS environment

Version 4.0.5

  • Removed stopping of WP Rocket cache

Version 4.0.4

  • Minor bug fixes

Version 4.0.3

  • Switching recommended PHP Version to 7.1

Version 4.0.2

  • WPML and Memcache / Memcached bug fix

Version 4.0.1

  • Minor bug fixes
  • UK locale issue fixed

Version 4.0.0

  • Added proper Multisite support
  • Quick optimizations – Gzip and Browser cache config settings for the Network Admin
  • Network admin can purge the cache per site
  • Network admin can disallow Cache and HTTPS configuration pages per site
  • WPML ondersteuning indien Memcached is ingeschakeld
  • Cache is being purged per site and not for the entire network
  • Multiple performance & interface improvements
  • Security fixes against, additional access checks introduced
  • Fixed minor cosmetic errors in the interface

Version 3.3.3

  • Fixed minor interface issues

Version 3.3.2

  • Fixed bug with disabling the Force HTTPS option

Version 3.3.1

  • Fixed cache purge issue when CloudFlare is enabled
  • Added logging of failed attempts in XMLRPC API.

Version 3.3.0

  • Improved public purge function for theme and plugin developers
  • WP-CLI commando toegevoegd om cache te legen – wp sg purge

Version 3.2.4

  • Updated Memcache.tpl
  • Fixed a link in the PHP Check interface

Version 3.2.3

  • Improved WP-CLI compatibility

Version 3.2.1

  • Improved cron fallback, added error message if the WP CRON is disabled

Version 3.2.0

  • Adding PHP 7.0 Compatibility check & PHP Version switch

Version 3.0.5

  • Improved Certficiate check

Version 3.0.4

  • Fixed bug with unwrittable .htaccess

Version 3.0.3

  • Fixed bug in adding CSS files

Version 3.0.2

  • User-agent added to the SSL availability check

Version 3.0.1

  • PHP Compatibility fixes

Version 3.0.0

  • Plugin hernoemd naar SG Optimizer
  • Interface onderverdeeld in meerdere schermen
  • HTTPS Force functionality added which will reconfigure WordPress, make an .htaccess redirect to force all the traffic through HTTPS and fixes any potential insecure content issues
  • Plugin prepared for PHP version compatibility checker and changer tool

Version 2.3.11

  • Publieke purge functie toegevoegd
  • Memcached problemen opgelost

Version 2.3.10

  • Verbeterde Memcached prestaties
  • Memcached problemen opgelost

Version 2.3.9

  • Verbeterde WordPress 4.6 compatibiliteit

Version 2.3.8

  • Improved compatibility with SiteGround Staging System

Version 2.3.7

  • Fixed PHP warnings in Object Cache classes

Version 2.3.6

  • Minor URL handling bug fixes

Version 2.3.5

  • Improved cache testing URL detection

Version 2.3.4

  • CSS Bug fixes

Version 2.3.3

  • Memcache verbeterd
  • Interface verbeteringen
  • Bug fixes

Version 2.3.2

  • Bug opgelost met Memcache legen

Version 2.3.1

  • Interface verbeteringen
  • Internationalization support added
  • Spaanse vertaling toegevoegd door SiteGround.es
  • Bulgaarse vertaling toegevoegd

Version 2.3.0

  • Memcached ondersteuning toegevoegd
  • Betere PHP7 compatibiliteit

Version 2.2.11

  • Verbeterde compatibiliteit met WP Rocket
  • Bug fixes

Version 2.2.10

  • Revamped notices work
  • Bug fixes

Version 2.2.9

  • Bug fixes

Version 2.2.8

  • Bug fixing and improved notification behaviour
  • Fixed issues with MS installations

Version 2.2.7

  • Added testing box and notification if Dynamic Cache is not enabled in cPanel

Version 2.2.6

  • Fixed bug with Memcached causing issues after WP Database update

Version 2.2.5

  • Minor system improvements

Version 2.2.4

  • Minor system improvements

Version 2.2.3

  • Admin bar link visible only for admin users

Version 2.2.2

  • Minor bug fixes

Version 2.2.1

  • Leeg SG Cache knop toegevoegd
  • Redesigned mobile-friendly interface

Version 2.2.0

  • NGINX ondersteuning toegevoegd

Version 2.1.7

  • Fixed plugin activation bug

Version 2.1.6

  • The purge button will now clear the Static cache even if Dynamic cache is not enabled
  • Better and more clear button labeling

Version 2.1.5

  • Better plugin activation and added to the wordpress.org repo

Version 2.1.2

  • Fixed bug that prevents you from enabling Memcached if using a wildcard SSL Certificate

Version 2.1.1

  • Cache will flush when scheduled posts become live

Version 2.1.0

  • Cache will be purged if WordPress autoupdates

Version 2.0.3

  • Minor bug fixes

Version 2.0.2

  • 3.8 ondersteuning toegevoegd

Version 2.0.1

  • Interface verbeteringen
  • Minor bug fixes

Version 2.0

  • Nieuwe interface
  • Minor bug fixes
  • Settings and Purge pages combined into one

Version 1.2.3

  • Minor bug fixes
  • SiteGround Memcached support added
  • URL Exclude from caching list added

1.0

  • Plugin gemaakt.