X
    Categories: Hosting NewsWordPress

SuperCacher: we go beyond being just fast!

Throughout the years SiteGround accomplished remarkable results in terms of performance and loading speed of our clients’ websites. To name a few of our achievements: frequent change of server gear with newer and more powerful one; rewriting the most commonly used software (such as Apache & php) in order to serve web pages even faster; tuning up our OS so it serves millions of requests per minute; adding multiple server locations across the globe so that content is nearer to your users, etc.

We like what we’ve accomplished so far. Our clients seem to appreciate it as well. In a recent survey we conducted, 93% of our clients were really satisfied with the speed and performance of their websites hosted by SiteGround.

Still, we wanted to go beyond fast loading times. We wanted to improve and strengthen your site to hold up against massive traffic spikes and handle 100 times more of their normal traffic. The only way to accomplish that was to add different layers of caching. That was a really complicated task on a shared hosting environment. It took more than 6 months to build, and a lot of people along the way told me, what we were doing was impossible on shared hosting. But it’s finally live! 😉

What is SuperCacher and how does it work?

SuperCacher is a web caching service that we developed internally and exclusively at SiteGround. It sits in front of your web server (e.g. Apache). Whenever a browser requests to load a web page from SiteGround’s web server, the web server returns the HTML result to the browser AND the cache stores a copy of that same page. Next time that particular page is requested, the request gets served from the cache directly while the web server sits idle. Cache is known to significantly reduce the impact of many visitors/hits onto your website’s loading speed by sparing the resources of your host server and delivering the websites dramatically faster. SuperCacher is flexible, as it has several layers of caching available and more to come in the future.

Three Layers of Caching by SiteGround SuperCacher

1) Static Cache is the simplest form of caching. What it does is when a page of your site is loaded, it takes a copy of your static content – e.g. Images, CSS Stylesheets, Java Scripts, Flash Objects, etc. – and puts them into the servers’ RAM Memory. Next time that same object is required – say an image – it would be loaded from the servers’ RAM which is dramatically faster than loading an image from the Servers’ hard drives. And should you multiply this by a big number of visitors at the same time, the impact would be… spectacular 😉

Who is it for? Static cacheis suitable for any kind of website. It’s enabled by a simple on/off switch in your cPanel -> SuperCacher.

2) Memcached is probably the most popular memory caching system that is used by thousands of database-driven sites on the Internet including YouTube, Facebook, Wikipedia. It speeds up these websites by caching results from database queries in RAM. Thus, if the result of the same query is needed again, it will be instantaneously taken from the RAM, rather than generated again from the Database, which is usually a slower process and requires more computing power.

Memcached was one of the things that’s almost impossible to do on shared hosting. I’m proud to say that we’re the only host that offers Memcached on a shared hosting environment.

Who is it for? Memchaced is available to all our clients in their cPanel => SuperCacher. However, please keep in mind that in order to use Memcached your app would have to support it. Some apps have native support for it (e.g. Joomla, Mediawiki & Magento), though some additional configuration may be needed to make it work. Other apps, like WordPress, need additional plugin to be added in order to use Memcached.

3) Dynamic Cache is by far the most complicated thing we’ve ever done. Dynamic cache differs from Static cache and Memcached by one simple thing – the latter two only cache parts of your website – e.g. images or a query result. With Dynamic Cache the whole web pages are cached. In order to explain how dynamic caching works, I’d need to go into some more detail on how dynamic web languages (such as PHP) work.

Web browsers don’t understand PHP. They do understand HTML though. So even if your webpage was purely PHP written, it would still generate HTML code and send it to the web browser, so that the browser could actually understand it and display it to the user. PHP as a programming language is used so that the content of that same HTML is changed dynamically and upon a set of conditions predefined by the web creator.

What’s dynamic data then? Say, you want to show what date it is on a web page – that’s dynamic content, cause it would change over time. Another simple example – dynamic content can allow you to show to a person from Australia a kangaroo page and to a person from Bali a golden beach page on the homepage of your site.

How does caching work , when everything is dynamic? Well, the concept is simple. Every time the webserver generates an HTML page from the PHP, that page is cached by SuperCacher. Next time that page is requested, the pure HTML would be displayed form the Cache which is in RAM, and as opposed to wasting CPU and I/O resources to read the PHP file from the disk, the cached result is much faster to display with almost none resources wasted.

Who is it for? As explained, the nature of dynamic cache is much more complex than the static cache. Therefore it is only available for our WordPress and Joomla users for now. We’d be adding more applications soon, with Magento on our short-term to do list.

Possible Issues? In fact there are few. In order for dynamic cache to work properly, it needs to flush the cache any time something new is added to your site. Say, you have a WordPress site and add a new blog post. If cache is not flushed, that new post won’t appear, since results will be served from the cache and the cache won’t have that new blog post. But we’ve thought about that as well - we’ve written plugins you need to download for WordPress & Joomla, before turning SuperCacher Dynamic on. Those plugins will make sure each time there’s something new, your cache is purged and content is displayed properly 🙂

SuperCacher Results

Each caching level of our SuperCacher service can increase website performance hundreds of times and reduce the impact of your website onto the server dramatically. And when enabled simultaneously, all three layers of caching give outstanding results, to say the least. To activate all three or a single layer of caching for your website, simply go to cPanel and click on the SuperCacher icon, then enable the cache type of your choice.

Once you try it out, post a comment about your experience below! We’ll be happy to hear what you think and examine any results and improvements you have achieved.

Tenko: For the last few years Tenko Nikolov has been one of the masterminds behind the success of SiteGround. He has come up with multiple successful strategies for overcoming technical problems and has achieved real business results for SiteGround. His vision and skills have made SiteGround a leading host in terms of technology and platform reliability.

View Comments

  • I have been hosting our church's website (a couple of sub-domains) for quite a while now. I am currently in a Drupal 7 migration. Please let me know when there is support for D7. Thanks.

  • Hurrah! At last I got a blog from where I know how to truly get valuable data concerning my
    study and knowledge.

  • Does it support opencart ?
    I am running a opencart store with 3000+ products and getting error "Resource limit is reached" on my present host provider even though I have unlimited bandwith.

    Does this service helps me in solving this error and decrease page load time ?
    Also Do you provide APC module on shared hosting?

    • I am afraid, that as of now Open Cart isn't in the list of SuperCacher Dynamic Cache supported apps. There is no problem to have the static cache enabled for it, though.

      APC is available only with the Cloud and Dedicated Servers + Booster upgrade.

      The error “Resource limit is reached” isn't a standard one, but it seems like a custom one by your current host. Anyways, 3000+ products could be a lot, but also could be few. All depends on how much traffic your website generates and how big and optimized is the database it uses. However, I'm pretty sure that any of ours Cloud or Dedicated server + Booster offers can handle your website's needs.

  • I like what you guys are up too. This sort of clever work
    and exposure! Keep up the amazing works guys I've incorporated you guys to our blogroll.

  • you're really a just right webmaster. The web site loading
    velocity is incredible. It seems that you are doing any distinctive trick.

    In addition, The contents are masterwork. you have performed a wonderful
    process in this topic!

  • Sooner or later, Google will find all new spam methods.
    In addition, the observing surgeons could transmit their comments to the operating surgeon, who could read them on the Google Glass monitor.

    The only tab of your concern is Public Templates, and
    no actions are necessary as it is already on the screen.

  • A very useful addition. I have it enabled on my Siteground hosted Wordpress site.

    However, I notice that when I create user-roles for the site, the Purge SG Cache appears in the Wordpress bar at the top of the page.

    Is there any way to stop this appearing for particular roles? I want to keep that bar as simple as possible for contributors.

    • Thank you very much for the feedback! I will patch it and release an update so the Purge Cache button appears only for admin users.

  • Will SuperCacher (or parts thereof) work with websites that use 100% https?

    Every other managed WordPress host offering advanced caching seems to support https websites using the performance systems, can you address how SG compares?

    Thanks!

    • We're currently in a process of testing the SuperCacher over https. Right now we do not cache pages through SSL but we will start doing this very, very soon (as I said testing and polishing the product at the moment).

  • supercacher can only delete the cache in wordpress editior only but it can't delete the cache in front end and the changes are not reflected in front end can anyone suggest some ideas for that

    • The SuperCacher clears both the static and dynamic caches when needed. If you keep seeing cached content, that's probably because of a browser caching. If you experience such issues often, please post a ticket in your Help Desk and we will assist you further.

  • This plugin fully set up does absolutely nothing for caching or page speed. Test a site on Gmetrix without it then set it up, verify it and test the same site with it you will see it has no effect on caching score or anything.

    • The SuperCacher in combination with the plugin for the appropriate application you're using provides the fastest caching solution you can use for your website. The reverse proxy serves the requests directly from the server's RAM which is pretty much the fastest place you can get information from. However, note that this cache must be generated first, so if you're testing with GTMetrix, always make the test twice to avoid testing a dynamicly served request.