Skip to main content
Topic: Test Web Sites (Read 2429 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Test Web Sites

Reply #15
I always feel these tools are always to take with a grain of salt
Agree  8)

Google also has it's own tool for sped testing and the funny part is that the score is decreased a lot by their own JS files from services like Google Adsense and Analytics  :D

For me a website must load fast for users, not for automatic tools
sorry for my bad english

Re: Test Web Sites

Reply #16
Actually, I never trully care that much about any of these but normally when I am free I like to do all these "time wasting" things, again and again. Bad habit I guess. :D


Re: Test Web Sites

Reply #18
Just to note,  since you have enabled gzip with nginx, you should be able to turn off  ElkArte's  compressed output buffer since Nginx will take care of the text/html for you (and more efficiently)
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.


Re: Test Web Sites

Reply #20
Testing https://elkarte.sch.my on Ubuntu 18.04 Nginx Web Server:
1. https://gtmetrix.com/reports/elkarte.sch.my/Y9GvI0wx
2. http://www.webpagetest.org/result/180512_9X_2f1f9f6e0aaf1f3cd921d66428411c02/
3. https://tools.pingdom.com/#!/cZejF7/https://elkarte.sch.my

So far all are good with using only google cdn for jquery except my nginx cookieless setting on https://cdn.sch.my which is clearly not working. I will have to figure out why it is not working.

Further, I will also have to try and see how to remove query strings from static resources and replace it with others. Hopefully, it can become ElkArte new features? :D

Re: Test Web Sites

Reply #21
Quote
...most people can't use a subdomain of their main domain to do this ... because they serve cookies that are valid across the entire second-level domain.
Reading
the above discussion at ServerFault
now I know why my cookie-free domain at https://cdn.sch.my is not working. To make it works I changed it to other domain instead.

As for the query strings, I disabled the default code in SiteCombiner.class.php at line 398-399[1]by commenting them out:
Code: [Select]
		//if (!empty($this->_stales))
//$this->_archive_stale = '?x' . hash('crc32b', implode(' ', $this->_stales));

The score now increases and at https://tools.pingdom.com/#!/cSKvto/https://elkarte.sch.my it has achieved 100%  :D

For now I think there is no need for me to use any CDN, as my DNS server is CloudFlare thus it should serve any users quite fine wherever they are from.


Though there can be a better way in doing this but I am too lazy now. :D

Re: Test Web Sites

Reply #22
I thought my above trick no longer works but a test again today after update to 1.1.5 resulted in 100% again?

https://tools.pingdom.com/#59b26d4848c00000

Results from others are also good:
1. http://www.webpagetest.org/result/181031_MS_850cf69f1ae230371d59636b66ce7ae1/
2. https://gtmetrix.com/reports/elkarte.sch.my/EYy9QyvA