Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gabriel Torres Posted January 11, 2014 Posted January 11, 2014 Hi, When opening our forums (http://forum.clubedohardware.com.br) I see a five-second lag between hitting "Enter" and the page actually start loading and displaying. I think it should open instantly (whether the page will render instantly is a different history). I'd like to fix this, but don't even know where to start looking. Thanks, Gabriel.
stoo2000 Posted January 11, 2014 Posted January 11, 2014 It's taking 6-700ms to receive the forum index page when I connect.
AndyF Posted January 11, 2014 Posted January 11, 2014 Although aimed at IPS hosted sites, there are some general tips here > http://www.invisionpower.com/support/kb/_/reducing-site-resources-hosted-clients-r24 , these may or may not provide any clues. :)
Aussie Cable Posted January 11, 2014 Posted January 11, 2014 Around 16.8 seconds for me in Australia I see that the TTFB is around 1.4 seconds, this would be backend, this can be improved. Try compressing your images (via webserver) and cache your pages. You could also remove some advertising. Use of a local CDN (such as cloudflare) would greatly reduce the load-time.
Dmacleo Posted January 11, 2014 Posted January 11, 2014 wow, for me it was maybe a full second for everything and stuff was readable almost instantly
Aussie Cable Posted January 11, 2014 Posted January 11, 2014 Even local webpage test opened the site in over 10 seconds: Yes that was local for the website (Brazil) http://www.webpagetest.org/result/140111_S4_QBE/ Maybe you have already had the site cached in your browser?
Dmacleo Posted January 11, 2014 Posted January 11, 2014 not me, never visited it before. also had run ccleaner bit ago so would have been deleted anyways.
Aussie Cable Posted January 11, 2014 Posted January 11, 2014 Hmmm, thats interesting, I guess your closer being in the states, which is interesting because I have a 120Mbit cable connection. Just goes to show how slow it is over the pacific for us aussie's. My own site loads fast here, but it is hosted here in Aust:
Rhett Posted January 11, 2014 Posted January 11, 2014 Your main site loaded in about 2-3 seconds for me, then it took another 5-6 seconds for all of your third party sites you are pulling resources from. (ads and such)
stoo2000 Posted January 11, 2014 Posted January 11, 2014 Hmmm, thats interesting, I guess your closer being in the states, which is interesting because I have a 120Mbit cable connection. Just goes to show how slow it is over the pacific for us aussie's. The time I posted was the time just for the document, without any images, parsing etc. I'm in the UK, on 4.5Mbit DSL ( :( ), My place in Dublin has 100Mbit, It's like a different world when I go over there!
Aussie Cable Posted January 11, 2014 Posted January 11, 2014 The time I posted was the time just for the document, without any images, parsing etc. I'm in the UK, on 4.5Mbit DSL ( :sad: ), My place in Dublin has 100Mbit, It's like a different world when I go over there! Yeah, like I said, we have bad backhaul currently, over the pacific. Will retest in a few hours or so.
Dmacleo Posted January 11, 2014 Posted January 11, 2014 I AM using adblock so that is probably why. forgot to disable it
Gabriel Torres Posted January 11, 2014 Author Posted January 11, 2014 Thanks guys. Even though our website is a Brazilian community, we are hosted in the United Stated, FYI.
Aussie Cable Posted January 11, 2014 Posted January 11, 2014 Thanks guys. Even though our website is a Brazilian community, we are hosted in the United Stated, FYI. There you go, no wonder it is super fast for everyone in the states :thumbsup: Just tested again, better time for me: Not sure why it took so long before, as it was not in our peek, it was at around 4AM (now 6:20AM) :unsure:
Gabriel Torres Posted January 11, 2014 Author Posted January 11, 2014 Thanks for testing this. I've just moved my DNS records to Cloudflare. This should help a bit.
Makoto Posted January 11, 2014 Posted January 11, 2014 Thanks for testing this. I've just moved my DNS records to Cloudflare. This should help a bit. If your main target geographic is Brazil, you should be hosting your server in a datacenter in Brazil. Unless you're targetting Brazilian users in the United States. I see that the TTFB is around 1.4 seconds, this would be backend, this can be improved. Try compressing your images (via webserver) and cache your pages. Your web server doesn't compress images, GZIP compression only applies to HTML, Javascript, CSS, and other text based content. Google's Pagespeed Module lets your web server perform compression on images, but it should be used with care. Also, pages will never be cached with IP.Board, only static content (images, javascript, css, etc.) is ever cached. You will always have to make a connection to the web server on every page request. You don't ever want to allow caching of pages on a dynamic website. You can override this behavior in IP.Board, but you should never do so.
Dmacleo Posted January 11, 2014 Posted January 11, 2014 If your main target geographic is Brazil, you should be hosting your server in a datacenter in Brazil. Unless you're targetting Brazilian users in the United States. Your web server doesn't compress images, GZIP compression only applies to HTML, Javascript, CSS, and other text based content. Google's Pagespeed Module lets your web server perform compression on images, but it should be used with care. really felt I should stress that part. when setup right it helps but any crossdomain setup issues, etc and you get corruption. I actually am about to re-enable it on my end (nowheres near as busy as yours) but I do it to learn basically.
Makoto Posted January 11, 2014 Posted January 11, 2014 I use it on my production forum to generate progressive jpeg's and rewrite PNG's to lossless WebP. It works well. I've considered posting my current semi-refined PageSpeed rules on here, though they're nothing special.
Aussie Cable Posted January 12, 2014 Posted January 12, 2014 I use it on my production forum to generate progressive jpeg's and rewrite PNG's to lossless WebP. It works well. I've considered posting my current semi-refined PageSpeed rules on here, though they're nothing special. Maybe this would be a great post (as always :tongue:) in a separate topic somewhere. I am always interested to see what you post Kirito (server wise), it is very interesting, and I always learn something! :thumbsup:
Dmacleo Posted January 12, 2014 Posted January 12, 2014 would like to see them as I use it for same stuff
Grumpy Posted January 12, 2014 Posted January 12, 2014 If your main target geographic is Brazil, you should be hosting your server in a datacenter in Brazil. Unless you're targetting Brazilian users in the United States. It's often cheaper and more reliable to get one in USA with SA optimized than to get one in Brazil.
Gabriel Torres Posted January 12, 2014 Author Posted January 12, 2014 If your main target geographic is Brazil, you should be hosting your server in a datacenter in Brazil. Unless you're targetting Brazilian users in the United States. That is not an option. Hosting servers in Brazil is more than 10x more expensive than in the U.S with a service quality 10x worse. I am not kidding. It is simply ridiculous. We've tried several different datacenters in Brazil. They are all as bad as they can get, especially if you have experience dealing with datacenters in the U.S. Just to give you a real idea of numbers, when we finally decided to move to U.S., we would pay PER YEAR in the U.S. what we were paying PER MONTH in Brazil. Not only that. In Brazil we had to buy the equipment (co-location), while in the U.S. the equipment was leased (dedicated servers). When you factor this in, it is easily more than 12x more expensive hosting in Brazil. If the price different wasn't so outrageous, we'd prefer to host in Brazil and have a lower ping, but for a 12x+ price difference, "you gotta be kidding". Most "hosting" companies in Brazil are, in fact, mere resellers of U.S. hosting services, and the ones that have datacenters are simply not competitive and I always wonder why someone would host with them (the only explanation I have is that people only quote with companies in Brazil and, since most Brazilians don't speak English, they are very limited to what they can accomplish).
Aussie Cable Posted January 12, 2014 Posted January 12, 2014 Well I say, if your on a good thing........stay with it. No point in going backwards.
Dmacleo Posted January 12, 2014 Posted January 12, 2014 I've heard that about Brazil before but nobody has laid it out like that. wow.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.