31 May 2017

Grav CMS: Top Tips How To Accelerate it

Grav CMS is considered to be a complete newbie if compared with its counterparts such as Drupal or WordPress. It’s a flat file and open source CMS that was released in late 2015 and has become extremely popular among web site developers.

The main reasons why Grav is used to create new sites are the following:

  • It’s a very lightweight CMS;
  • You can use the Markdown editor to create new content while being online and offline;
  • You may use a special built-in application called the Package Manager to find, install or enhance themes for Grav;
  • When you choose Grav, your content is automatically cached;
  • You can filter and manager your content easily by using unlimited taxonomies with Grav.

Though Grav is a lightweight and rather speedy CMS, sometimes, it needs to be accelerated in some way. Today, we’re going to give some practical tips how you can do this.

Tip 1: Choose an Appropriate Hosting Plan

If you plan to create a new site with the help of Grav, you need to find an appropriate server to host your content. For instance, it can be a shared hosting once you’re running a startup or your budget is a limited one. Though Grav performs rather well on shared servers, it’s always better to move to dedicated hosting once you’ve started to get a bigger flow of internet users.

Tip 2: Use PHP Caching

If you’re willing to make your Grav site faster, you may try to use opcache and usercache. You can use Zend opcache with APCu cache once you’re using PHP 5.5 or 5.6.

Tip 3: Apply for a CDN

A CDN is a network of servers scattered around the world and used to keep cached and copied data. When you integrate CDN with Grav , you let your web files to be copied, cached and stored in data centers called Point of Presence around the world.

Such simple solution helps you deliver your web files to their final users from the nearest server at high speed. However, it’s not the only benefit you can get using a CDN for website . Here are some more reasons to apply for this service:

  • You become less dependent on one server if you use a CDN (A CDN is a network of servers scattered around the world, so when your initial server comes down, you can continue to stream your content from another server connected to the network);
  • You can cut down your hosting expenditures with a CDN (When you use a CDN, you don’t need to pay for hosting your content in various countries);
  • A CDN can guard your web files from such threats as hotlinking, spam and scrapping bots.

Today, we have discussed several ways on how to speed up Grav. We hope our post will help you speed up your site created with the help of this CMS in some way.