Good performance in Brazil, awful in other countries


#1

Guys, I need your help to understand this performance diference, between tests produced on GT Metrix and Pingdon, related to site location.

My site is originally located in Brazil. Using GT Metrix, I had these results regarding loading time:

  • Test location: Brazil —> Fully loaded 3.6 sec.
  • Test location: London —> Fully loaded 95.6 sec.
  • Test location: Mumbai —> Fully loaded 97.1 sec.

So, outside Brazil, my website is incredible slow using Cloudflare.

Any idea here? Thanks for your help.


#2

When you do the GTMetrix test, have you looked at the HTTP headers for your of your files to see which Cloudflare datacenter it’s going through? I believe it’s at the end of the CF-Ray header.

Would you mind posting your domain’s URL?


#3

Hi sdayman, thanks for your answer.

My website is www.sellmore.com.br

Regarding your question: I don’t know if is the right information that you are requiring:

Response Headers301
DateTue, 03 Jul 2018 03:38:39 GMTReferrer-PolicyServercloudflareCache-Controlmax-age=2592000X-Powered-ByPHP/7.1.13VaryAccept-EncodingContent-Typetext/html; charset=UTF-8Locationhttps://sellmore.com.br/Connectionkeep-aliveTransfer-EncodingchunkedSet-Cookie__cfduid=d55f250cb6dbf91ec816ad9c9c835cf5d1530589117; expires=Wed, 03-Jul-19 03:38:37 GMT; path=/; domain=.sellmore.com.br; HttpOnlyCF-RAY43465201e67e924e-EWRExpiresThu, 02 Aug 2018 03:38:49 GMT

Request Headers
Pragmano-cacheAccept-Encodinggzip, deflate, sdchHostwww.sellmore.com.brAccept-Languageen-US,en;q=0.8User-AgentMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8Cache-Controlno-cacheConnectionkeep-alive


#4

Additionally, I has tested my DNS, using DNS Check Tool, form Pingdom. I’ve received a warning, regarding SOA records:

SOA

Could not find reverse address for 108.177.104.27 (27.104.177.108.in-addr.arpa.).

PTR record(s) for the address could not be found in the .arpa-zone. (ip6.arpa. for IPv6 addresses and in-addr.arpa. for IPv4).

Could not find reverse address for 2607:f8b0:4003:c04:0:0:0:1b (b.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.c.0.3.0.0.4.0.b.8.f.7.0.6.2.ip6.arpa.).

PTR record(s) for the address could not be found in the .arpa-zone. (ip6.arpa. for IPv6 addresses and in-addr.arpa. for IPv4).

Could not find reverse address for 108.177.104.27 (27.104.177.108.in-addr.arpa.).

PTR record(s) for the address could not be found in the .arpa-zone. (ip6.arpa. for IPv6 addresses and in-addr.arpa. for IPv4).

Could not find reverse address for 2607:f8b0:4003:c04:0:0:0:1b (b.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.c.0.3.0.0.4.0.b.8.f.7.0.6.2.ip6.arpa.).

PTR record(s) for the address could not be found in the .arpa-zone. (ip6.arpa. for IPv6 addresses and in-addr.arpa. for IPv4).


#5

EWR is Newark, New Jersey, US.

The biggest problem I see is that your images aren’t being cached by Cloudflare. Do you have a Page Rule or a cache header set to not cache images?

For now, the SOA doesn’t seem to be the problem.


#6

I am actually using Smush Pro to compress the images, and W3 Total Cache, and the images are included on it.

BTW, my website size (first page) is 1.60 MB (in Brazil, Mumbai or London), and the difference is about 90 seconds loading, using the same configurations.

Regards.
Renato


#7

An extra information:

I don’t know if could be related, but, by the way…


#8

SmushPro leaves your images on your server, and W3TC also leaves the cached page files on your server. Something seems to be interfering with the caching. For this, you should open a Support ticket. Maybe they can figure out why your images aren’t caching. Email them: support AT cloudflare DOT com
or: https://support.cloudflare.com/hc/en-us/requests

Those DNS warnings are normal, and I get those too. It’s just a warning that they don’t think your DNS is fail-proof, but it’s really pretty rock-solid at Cloudflare.


#9

sdayman, OK, I can open a ticket. But, the question is: requesting the website in Brazil or London, or Mumbai, the website, codes, images and cache used are exactly the same. So, if there is a fast load in Brazil, why we have almost 100 seconds difference loading the same website from another location?

For me, it is still hard to see a connection between results like this, and image cache:


#10

The difference is most likely due to poor connectivity between Brazil and your visitors thousands of miles away. You could try Argo to see if that would speed things up. But the bigger concern is how slow those non-cached images are loading.