1.
Performance
Test
Analysis
Client
URL:
http://www.hotels.com/
Performed
by:
Yassine
Alozade
Date:
April
1,
2015
at
5:32:23
PM
EDT
Location:
New
York,
NY
USA
Browser:
Safari
Tools
used:
6.
6
1. Make fewer HTTP requests:
The page has 23 external Javascript scripts. Try combining them into one.
The page has 7 external background images. Try combining them with CSS
sprites.
Note: Decreasing the number of components on a page reduces the
number of HTTP requests required to render the page, resulting in faster
page loads. Some ways to reduce the number of components include:
combine files, combine multiple scripts into one script, combine multiple
CSS files into one style sheet, and use CSS Sprites and image maps.
2. Use of Content Delivery Network (CDN)
There are 41 static components that are not on CDN.
• a1.cdn-hotels.com: 14 components, 814.4K (62.0K GZip)
• configusa.veinteractive.com: 2 components, 134.8K (41.3K GZip)
• nexus.ensighten.com: 8 components, 103.7K (100.1K GZip)
• survey.122.2o7.net: 1 component, 0.05K (0.06K GZip)
• i.spigtrmrjs.info: 2 components, 992.9K (992.9K GZip)
• c.spigtrmrjs.info: 1 component, 5.2K (5.2K GZip)
• cond01.etbxml.com: 1 component, 0.2K
• seal.verisign.com: 1 component, 3.0K
• www.hotels.com: 8 components, 473.3K
• www.ajaxcdn.org: 1 component, 48.4K
• 3057879.fls.doubleclick.net: 1 component, 2.2K
• 3399260.fls.doubleclick.net: 1 component, 9.4K
CDN's Used:
Www.hotels.com : Akamai
a1.cdn-hotels.com : Akamai
seal.verisign.com : Akamai
seal.websecurity.norton.com : Akamai
www.google-analytics.com : Google
survey.122.2o7.net : Akamai
media.expedia.com : Akamai
configusa.veinteractive.com : Akamai
s0.2mdn.net : Google
www.google.com : Google
www.gstatic.com : Google
Note: A CDN is necessary to achieve fast response times. The user's
proximity to your web server has an impact on response times. 80-90% of
the end-user response time is spent downloading all the components in
the page: images, stylesheets, scripts, Flash, etc.
7.
7
3. Compress components with gzip
There are 7 plain text components that should be sent compressed
• http://nexus.ensighten.com/hotelscom/prod/code/8ebd2b83716d09616
14c3698671458d9.js?...
• http://nexus.ensighten.com/hotelscom/prod/code/5036720379381174d
e00f0182a589ae4.js?...
• http://nexus.ensighten.com/hotelscom/prod/serverComponent.php?...
• http://www.google-analytics.com/ga.js
• https://seal.verisign.com/getseal?...
• http://www.hotels.com/__ssobj/core.js
• http://www.hotels.com/__ssobj/static/hrum-tracking-min.js
Note: Compression reduces response times by reducing the size of the
HTTP response. Gzip is the most popular and effective compression
method currently available and generally reduces the response size by
about 70%
4. Avoid URL redirects
There are 9 redirects
• https://seal.websecurity.norton.com/getseal?... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://savingsslider-a.akamaihd.net/items/cb/img/9622c/dropdown-
logo.png redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://media.hotels.com/.../TPID=42&LOCATION=HOME&SUBLOCATION=
SEARCH&PLACEMENT=RIGHT1&LANGID=1033&ADSIZE=300X82
redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://media.hotels.com/.../TPID=42&LOCATION=HOME&SUBLOCATION=
SEARCH&PLACEMENT=CCOL1&LANGID=1033&ADSIZE=300X250
redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://fls.doubleclick.net/activityi;src=3057879;type=homep330;cat=ho
mep396;u1=US... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://fls.doubleclick.net/activityi;src=3399260;type=nausc659;cat=naus
h340;u20=6... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• https://foxi69.tlscdn.com/altHbHandler.html#opdom=spigtrmrjs.info&pa
rtner=spigtr&... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://q.spigtrmrjs.info/dealdo/event-report?... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
• http://q.nadijs.info/dealdo/event-report?... redirects to
http://3057879.fls.doubleclick.net/activityi;src=3057879;type...
Note: Inserting a redirect between the user and the final HTML document
delays everything on the page since nothing on the page can be rendered
and no components can be downloaded until the HTML document arrives.
8.
8
5. Use cookie-free domains
There are 8 components that are not cookie-free
• http://www.hotels.com/__ssobj/core.js
• http://www.hotels.com/__ssobj/static/hrum-tracking-min.js
• http://www.hotels.com/external/images/hermesContent-345d4612-
eeae-47c3-8647-f0c73cc96349-v1.0.jpg
• http://www.hotels.com/external/images/hermesContent-7861b54b-
9770-4af8-879b-3738c8166bcb-v1.0.png
• http://www.hotels.com/external/images/hermesContent-5ddc7ee1-
efdf-4546-bb02-15ee7cd172c6-v1.0.jpg
• http://www.hotels.com/external/images/hermesContent-a49b9b92-
f61f-444a-8359-66c1682d5cf0-v1.0.png
• http://www.hotels.com/external/images/hermesContent-a56aa8b7-
5275-436b-9f8a-0b158fe22f21-v1.0.png
• http://www.hotels.com/external/images/hermesContent-58945cf0-
746e-49be-925c-c2449c6b2a42-v1.0.jpg
Note: These cookies are unnecessary network traffic. To workaround this
problem, make sure that static components are requested with cookie-free
requests by creating a subdomain and hosting them there.
6. Minify JavaScript and CSS
There are 7 components that can be minified
• http://cond01.etbxml.com/api/web/hotels.php?...
• inline <style> tag #3
• inline <style> tag #5
• inline <style> tag #6
• inline <script> tag #13
• inline <script> tag #14
• inline <script> tag #15
Note: This improves response time since the size of the download files is
reduced.
9.
9
7. Do not scale images in HTML
• Total in images = 986.1 KB
• Target size = 306.2 KB
• Potential savings = 679.9 KB
There are 9 images that are scaled down
• http://www.hotels.com/external/images/hermesContent-7861b54b-
9770-4af8-879b-3738c8166bcb-v1.0.png
• http://www.hotels.com/external/images/hermesContent-5ddc7ee1-
efdf-4546-bb02-15ee7cd172c6-v1.0.jpg
• http://www.hotels.com/external/images/hermesContent-a49b9b92-
f61f-444a-8359-66c1682d5cf0-v1.0.png
• http://www.hotels.com/external/images/hermesContent-a56aa8b7-
5275-436b-9f8a-0b158fe22f21-v1.0.png
• http://www.hotels.com/external/images/hermesContent-58945cf0-
746e-49be-925c-c2449c6b2a42-v1.0.jpg
• http://a1.cdn-hotels.com/landing/images/97b61a86-56f7-4eb3-b62c-
74a8ab1929ff_20140723104715.jpg
• http://a1.cdn-hotels.com/landing/images/2ddeb5d1-8fa5-4d55-b78d-
62e5b0d208bf_20130621042935.jpg
• http://a1.cdn-hotels.com/landing/images/0004d096-68a2-4a59-8ea1-
e83dbdfca218_20130507102627.jpg
• http://a1.cdn-hotels.com/landing/images/2326e818-8707-451f-b8c7-
d3ecfbf13dc9_20130319101450.jpg
Note: Avoid setting image dimensions by using the width and height
attributes of the HTML image element. it can result in images being larger
than needed.
8. Reduce cookie size
There are 1916 bytes of cookies on this page
Note: Eliminate unnecessary cookies
Keep cookie sizes as low as possible to minimize the impact on the user
response time.
10.
10
Thank you for reading
Your Comments and suggestions are always welcome