[QUESTION] Page Speed Reports on Staging Sites

RogerM

Well-known member
Mar 3, 2020
461
439
63
Maracaibo, Venezuela
I am currently on a client´s site working trying to improve its page loading speed and I´ve come to a weird situation (at least for me).

I like working under a staging environment whenever working on page loading speed issues and, when running the staging site URL on tools like GPSI or GTMetrix, I am getting weird scores.

Why is this? Isn´t possible to run staging site´s through these speed tools? Thoughts?

Someone on another forum pointed out that the staging environment doesn´t close exactly the same and to 100% the live site, other mentioned I need to setup the login credentials for the staging site into GTMetrix in order for the tool to audit the site properly but, still, I am getting weird results.

Is there a better way to work on a non-production environment while working on the site and then push the changes to the live site?

Or perhaps I am not setting up the staging plugin properly? (I am using WP Staging Pro)

Thoughts?

PS: I don´t have access to the site´s CPanel

Thanks in advance!
 

Custom B

Active member
Feb 29, 2020
137
123
43
Hi,

a staging environment is actually a must when creating sites for others. There are really many ways to build up one or more staging sites for a project (e.g XAMP, LocalWP, DevKinsta, etc...) but my favorite setup is a cheap VPS on DigitalOcean ($5) or Vultr ($6) and a free domain (ga, tk, etc..) from freenom.com. I prefer Vultr most of the time, because they have best speed and a really low TTFB...

That way i can have a 1to1 mirrored project installation and the only difference between staging- to live-site is the domain name...for instance production site xyz.com and staging site xyz.tk

After clients review, i push the approved changes from the staging to the live site with WPvivid Backup Plugin (free) which has a site automigration feature from one domain to another. No need for CPANEL or other bloatware of that sort.

With the above setup i can also run the GMetrix or PageSpeed Insights tests, finetune the staging sites based on the recommendations i get from GM, and lroll out the configuration to the live site.

Hope this helps a bit,
Regards
 
  • Like
Reactions: osvmello

RogerM

Well-known member
Mar 3, 2020
461
439
63
Maracaibo, Venezuela
The problem I found with your way is that when working particularly on improving a site´s page loading speed hosting a site locally will dramatically skew the results when testing the changes you do to the site.

The same issue we will face when creating a staging environment or cloning the client´s site on a hosting service that is a more robust and faster hosting alternative (Like Digital Ocean) than the hosting where the site is currently been hosted on by the client.
 

Custom B

Active member
Feb 29, 2020
137
123
43
The problem I found with your way is that when working particularly on improving a site´s page loading speed hosting a site locally will dramatically skew the results when testing the changes you do to the site.

The same issue we will face when creating a staging environment or cloning the client´s site on a hosting service that is a more robust and faster hosting alternative (Like Digital Ocean) than the hosting where the site is currently been hosted on by the client.
Yes indeed. It happens sometimes that the client asks me why the staging site is so much faster than his chosen hosting service. The answer is usually because they choose the cheapest WP hosting they can find.
Then again some choose to upgrade the hosting plan, others switch to a VPS and others continue with cheap over performance.

Regards,
CB
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu