Improve wordpress website performance: Step by Step

Improve wordpress website performance Step by Step guide

Speed up my website: Backup and benchmark

Before doing anything  you must first take a backup the site as well as create a benchmark report.

Go to the following websites and create and download performances 

  1. https://gtmetrix.com/
  2. https://tools.pingdom.com/

Improve wordpress website performance: Basic Checklist

  1. Update all the plugins
  2. Update all the themes
  3. Remove all unused plugins / zip files / unwanted themes
  4. Take Database backup then Optimize Database Tables via PHPmyAdmin.
    1. WP-Optimize [https://wordpress.org/plugins/wp-optimize/]
    2. WP-Optimize is an effective tool for automatically cleaning your WordPress database so that it runs at maximum efficiency.
    3. Warning: It is best practice to always make a backup of your database before any major operation (optimizing, upgrading, etc.).
  5. If Possible Take Database backup then remove all the revisions or database snapshots
  6. Add plugin Remove Query Strings From Static Resources [https://wordpress.org/plugins/remove-query-strings-from-static-resources/ ]
  7. Optimize the Images 
  8. Use only images with perfect size. i.e. if you have to show image of 50×50 px then upload with same size. Avoide using images like 1024 x 1024 px for 50×50 px.
  9. Increase server memory utilization if you have free resources.Added Upper and lower limit. i.e.
    define(‘WP_MEMORY_LIMIT’, ‘1024M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘1536M’);
  10. Install updated Caching plugin [WP Super Cache]

After performing above steps Check resultson https://gtmetrix.com/ or https://tools.pingdom.com/ and keep repeating steps until you get satisfactory results !

Improve wordpress website performance by editing .HTACCESS

BEGIN BROWSER CACHING

## BEGIN BROWSER CACHING ##

ExpiresActive On

ExpiresByType image/jpg "access 1 year"

ExpiresByType image/jpeg "access 1 year"

ExpiresByType image/gif "access 1 year"

ExpiresByType image/png "access 1 year"

ExpiresByType text/css "access 1 month"

ExpiresByType application/pdf "access 1 month"

ExpiresByType text/x-javascript "access 1 month"

ExpiresByType application/javascript "access 1 month"

ExpiresByType application/x-javascript "access 1 month"

ExpiresByType application/x-shockwave-flash "access 1 month"

ExpiresByType image/x-icon "access 1 year"

ExpiresDefault "access 2 days"

## END BROWSER CACHING ##




# BEGIN gzip file compression

# Compress HTML, CSS, JavaScript, Text, XML and fonts

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/vnd.ms-fontobject

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

AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs

BrowserMatch ^Mozilla/4 gzip-only-text/html

BrowserMatch ^Mozilla/4\.0[678] no-gzip

BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

Header append Vary User-Agent

# END gzip file compression




    Full-Service Agency

    Here at PrefrCo, we’re on a mission to create opportunities for clients. We believe nothing is more important than partnerships that drive long-term business success. Our diverse team maximizes impact for our clients. We outthink the competition, not outspend them.

    It goes without saying that we’re big fans of purpose-driven design. We craft innovative digital experiences to give your customer’s the most effective interaction with your brand. We understand the time and effort it takes to build an audience in today’s digital world, which is why we value efficiency, security and custom solutions above all else.

    • Website Development 
    • Responsive Design
    • Website Accessibility
    • Search Engine Optimization
    • Hosting & Server Management
    • Email Marketing

    Looking to take control of your online social presence? Look no further. We’ll monitor your brand, industry and competitors and create relevant content that keeps your business ahead of the curve. All with the goal of gaining customer loyalty and confidence in your brand.

    • Platform & Reputation Management
    • Review Monitoring
    • Organic Posting
    • Paid Social Advertising

    Customized conversion tracking? Personalized analytics programs? Dedication to data-informed decisions? Check, check and check! Our in-house data team sifts through large data sets every day to provide our clients with valuable insights and the highest possible return on investment. In short, data drives everything we do.

    • Ad Tracking & Measurement
    • Custom Reporting & Analysis 
    • A/B Testing
    • Market & Industry Research
    • Conversion Rate Optimization