How to reduce http requests on magento
-
I have looked everywhere how reduce http requests on magento. couldn't find it, everyone talks about best practices but not actual answers how to implement this.
-
PS here's an update I ran it out of California as well
http://newrelic.com/synthetics_previews/7b161fb0c45f0132e6e800505682a6e4
446 msCONNECT305 msSSL1 msSEND490 msWAIT3 msRECEIVE938 msTIME TO FIRST BYTE -
Hi Laila,
New relic is may be one of the most respected and definitely something you can trust for speed running it through synthetics I found this
http://newrelic.com/synthetics_previews/0d9e94f0c4580132e6c900505682a6e4
out of Virginia showed me a load time of almost 9 seconds with a timed first bite of almost 800 ms
8.57
SECONDS736 ms
TIME TO FIRST BYTE
http://newrelic.com/synthetics_previews/0d9e94f0c4580132e6c900505682a6e4the platform you recommended GT metrics is not bad but it still showed poor performance using yu slow
http://gtmetrix.com/reports/www.laila.uk.com/mhNKz4QT
50 Requests
1.2 MB
7.33s (onload: 7.89s)I had the wrong key and had to make this twice so sorry about any issues with the way the format is.
OK
200
43.2 kB
739 ms
• Overview Response Request
43.2 kB
SIZE
text/html
TYPE
200 OK
STATUS
GET
METHOD
213.246.108.115
SERVER IP
74
CONNECTION ID
18:12:13
REQUEST TIME
LOAD TIME184 ms
369 ms
554 ms
739 ms281 ms
CONNECT194 ms
SSL454 ms
WAIT3 ms
RECEIVE736 ms
TIME TO FIRST BYTEYou need a better hosting platform or to add a lot of extras free this will allow you to install new relic at no cost server-side and show you that this is a problem you need to accelerate your server or change it out inexpensive high quality
https://asmallorange.com/hosting/cloud/ digitalocean.com linode.com ,Here's one config
http://www.riverlinux.com/magento/you will need a content delivery network I strongly recommend Peer1.com or rackspace.com
CDN Fastly.com AWS cloud front are both inexpensive dynamic CDN’s
Varnish + FPC + Redis running a Nginx server preferably. You can do this on rack space for little money and have a fantastic configuration.
https://blog.nexcess.net/2014/11/13/redis-in-memory-caching-substantially-improves-magento-ecommerce-performance/
http://www.neevtech.com/blog/2013/05/02/making-magento-run-faster-configuring-redis-as-session-back-end-2/http://www.magentocommerce.com/magento-connect/yireo-new-relic.html
Freeways to increase your server speed Varnish when implemented correctly is amazing
http://www.magentocommerce.com/magento-connect/high-performance-cache-with-varnish-support.html add to the backend
http://www.magentocommerce.com/magento-connect/performance-cache-backends-redis.html
http://inchoo.net/magento/using-redis-cache-backend-and-session-storage-in-magento/Ways to increase your server speed but are not free
extremely high rating might be best for the money. Allows you to use varnish along with Redis the best combination right now HHVM is not yet ready for this so until then those two are the best.
http://www.magentocommerce.com/magento-connect/cache-full-page-cache.htmlhttp://www.magentocommerce.com/magento-connect/warp-full-page-caching.html
http://www.magentocommerce.com/magento-connect/cloudfront-cdn.htmlVery high rating
http://www.magentocommerce.com/magento-connect/full-page-cache-performance-booster.htmlhttp://www.magentocommerce.com/magento-connect/warp-full-page-caching.html
please implement these tools or talk to one of the hosting companies that specialize in magento
please let me know if I can be of any more help and sign up for new relic it's free.
Sincerely,
Tom
-
Hi Thomas,
thanks for all that details but the tool you are using showing you incorrect details, if you look here http://gtmetrix.com/reports/www.laila.uk.com/mhNKz4QT you will see the problems we have.
Kind regards
-
Turn the images into sprites there is a lot more slowing your site down then DNS and it is part of it but most of it is hosting and I did combine your JS files for you your CSS files were already combined.
These are some of the things slowing down your site and causing DNS to have to go back and resolve every time. their at the bottom. You do not have enough requests to have such a slow site let's definitely upgrade your DNS and better hosting it does not have to cost more
http://www.webpagetest.org/result/150413_MJ_3Y1/
here is the speed chart comparing the major DNS companies
http://www.solvedns.com/dns-comparison/
DynECT is my preferred. Dyn.com Keep in mind you can make a deal with NSone.net for everything you need for much less than you would imagine. Speedyrails.com resells edgecast route DNS for the price of $40 you can have 25 million queries per month way more than you need. The company that might fit perfectly is DNSmadeeasy.com they have incredible performance like the others with a base price of $29 a year so when you pay that no more payments for a year. This in addition offers you 10 million queries a month way more than you need.
cloudflare gives you free DNS that's very fast.
Look at the comparison of some of the other DNS companies and you will see that they add significant time onto your sites load time
http://www.solvedns.com/dns-comparison/draw.php?date=2015-03
http://www.webpagetest.org/result/150413_MJ_3Y1/1/performance_optimization/#first_byte_time
This is a very slow website because of the hosting platform it's on
Try top recommendation would be
https://www.firehost.com/ if cost is not issue FireHost
if it is an issue which is pretty normal.
Rackspace has created four tears of magento hosting from small to very large
http://www.rackspace.com/ecommerce-hosting/magento/
if you are not using a managed hosting platform ( I see who your hosting with it appears that you're not)
you can build your own droplet on digital ocean starting at a very low cost and very high performance
ttps://www.digitalocean.com/features/one-click-apps/magento/
other companies I would strongly recommend looking into.
http://www.peer1.com/hosting/magento-hosting
http://www.simplehelix.com/managed-hosting/magento-hosting/
http://www.zerolag.com/magento-hosting/
Common reference architectures for Magento
http://www.rackspace.com/ecommerce-hosting/magento/
-
COST EFFECTIVE rack space offers
-
INTERMEDIATE rack space offers
-
ADVANCED rack space offers
-
PREMIER rack space offers
full SSD VPS you can one click install magento and have a lot more speed than what you're hosting with now
these are the files that your site is creating using a CDN like
https://www.incapsula.com/ ( will make any server PCI compliant comes with a CDN free)
http://www.rackspace.com/cloud/files
if you use cloud flare pay for the Pro version
CSS files: 1
Javascript files: 8
Image files: 25
Total requests: 34
34 requests
https://www.laila.uk.com/skin/frontend/default/theme561/js/jquery-1.10.2.min.js
https://www.laila.uk.com/skin/frontend/default/theme561/js/jquery-migrate-1.2.1.min.js
https://www.laila.uk.com/skin/frontend/default/theme561/js/superfish.js
https://www.laila.uk.com/skin/frontend/default/theme561/js/scripts.js
https://www.laila.uk.com/media/po_compressor/1/js/d6649abe186b6565f4b5b2b394d97c51.js
https://www.laila.uk.com/skin/frontend/default/theme561/js/jquery.bxslider.min.js
https://www.laila.uk.com/media/po_compressor/1/js/da26bded356cd891449ca611a002923d.js
This URL contains the information above combined except for the one hosted on magento
Input: 582.15 KB
Output: 479.32 KB
Gzip: 156.11 KB
Delta: -426.03 KB (-73.18%)Gzip
Code
I hope this helps please let me know if you have any questions am sure I gave you a lot of information but there's a lot that's going on with your site. You could do a lot better by switching to a faster host and speedier DNS with a content delivery network.
Sincerely,
Tom
-
-
-
I responded to your other question the best way to implement these practices is to either show us your domain and what is being requested every time someone comes to your site or most sites do not have their .js & .css files combined
the easiest way to implement this right now is to take your files and put them into a tool like this to find out which files need to be combined
http://www.feedthebot.com/pagespeed/ or http://www.feedthebot.com/tools/requests/
once you have figured out the files that you want to combine for CSS you can use this tool
CSS only below
http://www.feedthebot.com/tools/css/
please send me your domain so I can do this for you if you like.
All the best,
Thomas
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How To Avoid Redirect Chains When Switching From http to https
I have been working on on-page SEO which has involved switching from http to https, and renaming URLs. I am running in to issues with redirect chains. Here is a scenario: Old URL: http://bwisecontractors.ca/products/decks-and-deck-covers/ New URL: https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ Since I already created the redirect addressing the redirecting from http to https for the root domain: (http://bwisecontractors.ca to https://bwisecontractors.ca), should the redirect for the above be http://bwisecontractors.ca/products/decks-and-deck-covers/ to https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ , or should it be http://bwisecontractors.ca/products/decks-and-deck-covers/ to http://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ (and the root domain redirect will take care of going from http to https)
On-Page Optimization | | BWiseContractors0 -
Prices Showing for products in SERPs - organic CTR reducing
Hi, I've been looking at a clients site and Google is pulling the prices of the products (for some not all) and the pages that rank have started to have a lower organic CTR. Does anyone know how I can control what prices show in the SERPs? There is no Schema on the site to display this and the price is not in the meta title or description - it's just appearing on some pages - it's not uniform across the site? Any ideas? Cheers B
On-Page Optimization | | Bush_JSM0 -
Can Javascript Links Be Used to Reduce Links per Page?
We are trying to reduce the number of links per page, so for the low-value footer links we are considering coding them as javascript links. We realize Google can read java, but the goal is to reduce level of importance assigned to those internal links. Would this be a valid approach? So the question is would converting low-value footer links to js like below help reduce the number of links per page in google's eyes even though we're reasonably sure they can read javascript. <a <span="" class="html-tag">href</a><a <span="" class="html-tag">="</a><a class="html-attribute-value html-external-link" target="_blank">javascript:void(0);</a>" data-footer-link="/about/about">About Us
On-Page Optimization | | Jay-T0 -
Moving Site from HTTP to HTTPS
Hi, So the news is that Google has started giving more importance to sites with HTTPS i.e. it is now a new ranking signal. It says that as of now it affects fewer than 1% of global queries, and carrying less weight than other signals such as high quality content but it may decide to strengthen it as they would like to encourage all website owners to switch from HTTP to HTTPS to keep everyone safe on the web. In that case, what should we do? Switching from http:// to https:// means change in urls and low traffic. How to cope with it? Do we have to implement 'n' number of redirects? Regards,
On-Page Optimization | | IM_Learner3 -
How do you treat http/https and slashes at the end of a site?
I believe there is a difference between http://www.abc.com vs https://www.abc.com I also know that it shows security and whatnot, but how do you treat it? Do you submit both? Do you re-direct one to the other? What if you have had the non-secure site for years and the links are mostly crawled? My second question is similar as my report shows these two as different: http://www.abc.com/blog vs http://www.abc.com/blog/ I didn't think it made a difference, but when I submitted the links to Google it would not accept them without the slash at the end. Again, the same questions as above in regards to how to treat it. Do you submit both? Do you re-direct one to the other? What if you have had the non-slash site for years and the links are mostly crawled? -What about http://www.abc.com vs http://abc.com ? They go to the same page, but are they treated the same?
On-Page Optimization | | tiffany11030 -
Do https sites rank as well as http sites?
2 Questions: Question 1 - We currently have our entire site running on https (the http pages 301-redirect to the https versions). Assuming that the https pages load as quickly as the http versions, is it a problem that the entire site is https? The only official answer I've been able to find is this 2011 video where Matt Cutts basically says "I don't know" - http://www.youtube.com/watch?v=xeFo4ytOk8M Question 2 - Is there any problem with having half our site running on https only (with the http pages redirected), and the other half (our blog) running on http only (with all https blog pages redirected to the http versions)? Thanks in advance for any input! Justin
On-Page Optimization | | JustinClark0 -
Google indexing https insted of http pages
Hi!
On-Page Optimization | | ovieira
First of all i have a Wordpress portuguese languagem website (**http://**bit.ly/TGjpVx). For a while, for security pourposes, i had a SSL certificate installed on my website but i didn't renew it, for a few months now. I didn't have any special https page. All pages responded using http or https. My problem is that it seems that Google still indexes some o my webpages with https and not http, so when people click on it they get a bad cached page. No good for SEO, i think. What can i do about this? I only want Google, and other serach engines, to index my clean http pages (about 70 pages). Thanks,
OV0 -
Website accessible on http and https. Is it bad?
We noticed that our website is accessible on: http://www.example.com and https://www.example.com Both the versions have page rank of 4. Though on https version we have added canonical tag indicating http:// version as preferred. Is this fine or we need to use 301 redirect and let the site be accessible only on http:// version??
On-Page Optimization | | CyrilWilson1