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:

SuperCacher configuratie

The main functionality of SuperCacher part of the plugin is to purge your dynamic cache whenever your content updates. For example, when you create a new post, someone comments your articles, etc. In addition to that, if you have a working Memcached service on your server, the plugin will allow you to easily configure and enable WordPress to use it.

There is public Purge function – sg_cachepress_purge_cache, which can be used by other plugins/themes. Example usage:

if (function_exists(‘sg_cachepress_purge_cache’)) {
sg_cachepress_purge_cache();
}

WP-CLI command is now available: “wp sg purge” to clear the cache.

HTTPS configuratie

The HTTPS Config allows you to force SSL usage on your site. It will redirect your entire traffic over secure connections and will fix mixed content issues. A side benefit of switching on the HTTPS is the automatic use of the HTTP2 protocol and its performance benefits.

PHP Config

This tool will allow you to check if your website is compatible with the recommended by SiteGround PHP version(7.0) and switch to it with a click. It is highly advisable to keep your WordPress running on the recommended PHP for best security and performance.

Eigenschappen

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

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

Configuratie

Dynamic Cache instellingen

  • Dynamic cache AAN/UIT – schakel de SiteGround Dynamic cache aan of uit
  • Autoflush cache AAN/UIT – schakel het automatisch legen van de Dynamic cache na bewerken van content aan of uit
  • Cache legen – Leeg handmatig de Dynamic cache

SLuit URLs uit van Dynamic Caching

Dit veld kan gebruikt worden om URLs uit te sluiten van de cache. Als je sommige delen van je site niet wilt laten cachen, moet je ze hier toevoegen. Voeg het laatste deel van de URL toe die je wilt uitsluiten, bijvoorbeeld ‘url’ als je ‘/pad/naar/url/’ wilt uitsluiten. ‘/pad/naar/ en /pad/naar/andere/url/verder/’ worden niet uitgesloten.

Memcached instellingen

  • Memcached aanzetten – Sla frequent gebruikte database queries op in het geheugen van de server voor snellere toegang.

HTTPS configuratie

Force HTTPS on/off — enable or disable the the https redirect for your whole site and the rewriting of the resource links from http to https.

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.

FAQ

Installation Instructions

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

Works great!!

Had no issues enabling the caching and setting up the various configurations. Also, it updated PHP version flawlessly.

Overall it’s a great plugin!

Disapppointed

I had high hopes for the plugin and I am still using it but have found it to be a bit of a “dark art”.

HTTPS config writes some htaccess rules but doesn’t say where it is writing them. (In my case, following the recommended practice of running wordpress in a sub-folder, it writes them to the wrong folder.)

And now HTTP is switched on, I can’t link out to non-https:// web sites without encountered errors.

Plus I’ve had a support request in around this topic for 3 weeks and had no response.

Best caching plugin and I tested them all

I tested every caching plugin out there but nothing helped my site more than server side caching like only this plugin can provide but of course you have to be with Siteground.

In the past my site loaded in several seconds almost like every visitor would be based in Australia which got me to give up on blogging, but now I am back again.

Since Siteground which I use with WP Rocket and SG Cachepress my site loads quiet often below 0.5 Seconds and works perfectly with CDN where they give me Railgun for free. Cachpress gave me about 50% of the performance boost in A/B testing and overall my site was 3 times faster than before Siteground. The other 50% I got from WP Rocket integration and manual optimizations with PHPstorm.

The change to Siteground Hosting and SG Cachpress was by far the best performance and customer services experience I had in my life. A clear nobrainer like so many innovative companies around WordPress in Eastern Europe (Siteground, Jetbrains).

Lees alle 29 beoordelingen

Bijdragers & ontwikkelaars

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

Bijdragers

“SG Optimizer” is vertaald in 5 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 3.3.4

  • Minor inferface issues and bugs

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
  • Added WP-CLI command for cache purge – 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
  • Spanish translation added by SiteGround.es
  • Bulgarian translation added

Version 2.3.0

  • Memcached support added
  • Better PHP7 compatibility

Version 2.2.11

  • Improved compatibility with 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

  • Added Purge SG Cache button
  • 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 created.