Knowledge is power!
How to Boost Your Hosting Performance

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
knowledgebase
Filter by Categories
  • How to Create Support Tickets

  • How Long does it take to set up my Account?

  • Why Choose Astrihost

  • What is a Domain name?

  • How Can I Transfer My Domain to AstriHost?

  • Domain Registration with Astrihost

  • Changing the nameservers of your domain.

  • Add DNS Records with Zone Editor?

  • How to redirect a Domain in cPanel?

  • Updating your domain contact information – WHOIS.

  • How to Migrate my WordPress Site

  • How to Debug Your WordPress Site with cPanel’s WordPress Toolkit

  • How to Log in to Your WordPress Dashboard

  • How to Edit My WordPress Website in cPanel with WP Toolkit

  • Install a Theme for WordPress

  • Install a WordPress Plugin

  • “Site Quality Monitoring”, for keeping tabs on your website.

  • How to Install WordPress with Softaculous?

  • How to install WordPress via cPanel?

  • Understanding and Fixing the 500 Internal Server Error

  • 504 Error Server is Unavailable

  • Managing Website RAM and Physical Memory Usage

  • How to Login to your cPanel

  • How to protect your website’s images?

  • How to delete a database in cPanel?

  • How to create a database in cPanel?

  • How to Create Additional FTP Accounts?

  • How to restore a backup of your files?

  • Does Astrihost support multiple PHP versions?

OpCache
Opcode caching is done by compiling PHP into pre-compiled bytecode so that PHP doesn’t have to be re-interpreted per request. It is excellent for boosting the speed of large apps with many includes/require statements. With OpCache, page loading times can be decreased from several seconds to less than 500ms.

Enable opcache

FTP allows you to access your files through a 3rd party program such as FilzeZilla

Step 1.

Login

Log in to your account https://my.astrihost.com/index.php

  1. From the dashboard, click on ‘Login to Control Panel
Step 2.

Select

  1. Scroll to the ‘Software section
  2. Click on ‘Select PHP Version’.
Step 3.

Add FTP

  1. Find and select ‘opcache‘ from the list.

Opcode caching is now active.

Caching with WordPress

Enabling caching in WordPress is straightforward with the use of plugins. Here’s how to do it:

  1. Install a Caching Plugin:
    • Go to your WordPress admin dashboard.
    • Click on the “Plugins” icon, then select “Add New.”
    • Type in the name of the caching plugin you want to install.

Popular caching plugins include:

  • WP Super Cache
  • W3 Total Cache
  • WP Fastest Cache

Note: Only install one caching plugin to avoid conflicts and performance issues.

Leverage Browser Caching

Browser caching stores CSS, JS, images, and other static assets in the user’s local storage for a set period, reducing server load and speeding up page requests. Enable browser caching by adding the following lines to your .htaccess file:

plaintextCopy codeExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access