Tips n tricks to follow for beginners to optimize wordpress website speed


Website Speed is one of the factors which decides traffic and conversion on a website.

To be honest, wordpress is not optimized for speed but is very user friendly and customizable.  That what makes it very popular.

In wordpress speed decreases with increase number of plugins and theme type.

In initial stages, newbies do not face any difficulty while updating website but with time site becomes slow because of junk files getting stored, increase in number of files on server, traffic load etc.


To do a permanent solution to this solution there are some tips to optimize wordpress speed which have to be followed since beginning.

Optimize image: Images are one of the factors which adds to website speed. Unknowingly we upload images to our website with large dimensions and size. This delays website loading and slows down website.
The solution to this problem is image compression.

One can compress images using image compression tools and resizing the image according to requirement.
Resizing ensures correct dimensions and sheds off extra image size.
Another way of doing it is by installing a image compression plugin like wp smush.

Enabling Caching: A cache is a temporary storage area of your browser where some static website files are stored so that they can be easily available upon revisiting the website. 

Caching static parts of website can save lots of queries and time to load a website.
The major thing associated with caching is that it is done on client’s side, so no extra resources are exhausted from server side.
You can use a plugin like w3cache or do it manually by following the process below.

To manually enable browser caching, add this code in your .htaccess file.

<IfModule mod_expires.c>

# Enable expirations

ExpiresActive On

# Default directive

ExpiresDefault “access plus 1 month”

# My favicon

ExpiresByType image/x-icon “access plus 1 year”

# Images

ExpiresByType image/gif “access plus 1 month”

ExpiresByType image/png “access plus 1 month”

ExpiresByType image/jpg “access plus 1 month”

ExpiresByType image/jpeg “access plus 1 month”


ExpiresByType text/css “access plus 1 month”

# Javascript

ExpiresByType application/javascript “access plus 1 year”



Enable server side compression: Server side compression is the enabling capability of a server to compress files to improve bandwidth utilization and speed.

Commonly it is known as GZIP compression. It can be enabled in three ways:

  1. From Server: Open cpanel of a website, navigate to Software tab and select Optimize Website.
    Select Compress all content and GZIP compression will get enabled.

  2. Using Plugin: Install GZIP Ninja plugin to check and enable it on server.
  3. Do it manually: Open it .htaccess file and add below code to it to enable compression.

    <IfModule mod_deflate.c>

 AddOutputFilterByType DEFLATE application/javascript

 AddOutputFilterByType DEFLATE application/rss+xml

 AddOutputFilterByType DEFLATE application/

 AddOutputFilterByType DEFLATE application/x-font

 AddOutputFilterByType DEFLATE application/x-font-opentype

 AddOutputFilterByType DEFLATE application/x-font-otf

 AddOutputFilterByType DEFLATE application/x-font-truetype

 AddOutputFilterByType DEFLATE application/x-font-ttf

 AddOutputFilterByType DEFLATE application/x-javascript

 AddOutputFilterByType DEFLATE application/xhtml+xml

 AddOutputFilterByType DEFLATE application/xml

 AddOutputFilterByType DEFLATE font/opentype

 AddOutputFilterByType DEFLATE font/otf

 AddOutputFilterByType DEFLATE font/ttf

 AddOutputFilterByType DEFLATE image/svg+xml

 AddOutputFilterByType DEFLATE image/x-icon

 AddOutputFilterByType DEFLATE text/css

 AddOutputFilterByType DEFLATE text/html

 AddOutputFilterByType DEFLATE text/javascript

 AddOutputFilterByType DEFLATE text/plain



These are some tips and tricks to follow for beginners to optimize wordpress website speed.

Leave a Reply

Your email address will not be published. Required fields are marked *