Questions tagged [yslow]

a tool written by Yahoo! that analyzes web pages and suggests ways to improve their performance

YSlow is a tool written by Yahoo! that analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages.

Currently YSlow is available in several browsers, including recently mobile support.

222 questions
52
votes
5 answers

Add Expires headers

Add Expires headers There are 21 static components without a far-future expiration date. http://static.doers.lk/examples-offline.css http://static.doers.lk/kendo.common.min.css http://static.doers.lk/kendo.default.min.css …
sami
  • 1,134
  • 3
  • 12
  • 18
46
votes
5 answers

Is "Put Scripts at the Bottom" Correct?

In the Best Practices to improve web site Performance http://developer.yahoo.com/performance/rules.html, Steve Souders mentioned one rule "Move Scripts to the Bottom". It's a little confusing. Actually, I notice that a lot of web pages that doesn't…
Morgan Cheng
  • 66,562
  • 63
  • 166
  • 223
23
votes
3 answers

apache compression Deflate .js and .css files not compressed?

In Apache Im enabling output compression by adding the following to my .htaccess file: # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE…
luca
  • 34,346
  • 27
  • 81
  • 123
23
votes
3 answers

how to use cookie-free domains (yslow)

I was trying to solve the problem with cookie-free, the yslow has suggested to create a subdomain. I did, but the yslow still "show" the problem. i didn't set the cookie´s domain in the page, cause i don't know how to do it. anyone know a tutorial…
Mario
  • 251
  • 1
  • 2
  • 6
21
votes
1 answer

htaccess UTF-8 encoding for .html, .css, .js - Whats the best way?

For yslow page speed I want to remove my meta tag and put my encoding into the .htaccess file. Below are all the ways to do it I have read about. Which is the preferred way? Also is the language setting a good idea too - and if out side of the…
Eric
  • 319
  • 1
  • 2
  • 7
20
votes
7 answers

Is using inline JavaScript preferred to an external include if the script is really short?

I use External JavaScripts in a website as I always try to keep JavaScript at bottom and external. But Google page speed is giving this suggestion The following external resources have small response bodies. Inlining the response in HTML can…
Jitendra Vyas
  • 134,556
  • 218
  • 544
  • 822
18
votes
7 answers

.htaccess, YSlow, and "Use cookie-free domains"

One of YSlow's measurables is to use cookie-free domains to serve static files. "When the browser requests a static image and sends cookies with the request, the server ignores the cookies. These cookies are unnecessary network traffic. To…
Jason Pearce
  • 1,048
  • 1
  • 9
  • 9
16
votes
1 answer

Add Expire Headers in php can't make it work

I have Yslow add-on installed When I checks my application in Yslow I get Add Expires headers which I don't know I searched for relevant questions in SO and also Google I found this method appropriate
Wazy
  • 8,449
  • 8
  • 50
  • 95
15
votes
3 answers

How to enable YSlow in Firefox?

I have installed the latest versions of YSlow and Firebug into the latest version of Firefox on Windows 7 (and restarted Firefox), but when I click on YSlow nothing happens. Also, when I click on Firebug, it opens but has no YSlow tab. I have…
byronyasgur
  • 4,299
  • 11
  • 47
  • 93
14
votes
5 answers

Tomcat Compression Does Not Add a Content-Encoding: gzip in the Header

I am using Tomcat to compress my HTML content like this:
Julien Chastang
  • 16,970
  • 12
  • 59
  • 88
14
votes
1 answer

Expires and CDNS - YSlow Problems

Let me first mention that I have done some digging but can't seem to find a proper answer to what I'll looking for. I'm working on a site where I am using a few external resources: Google Analytics (//www.google-analytics.com/analytics.js) Latest…
davewoodhall
  • 906
  • 2
  • 17
  • 41
8
votes
7 answers

YSlow recommendations. How necessary are they?

So I've just downloaded yslow for firebug and have taken a look at the results for a site I am building. I'm seeing recommendations, for example, to use ETags, cookie-free domain for my static components, and add expires headers. I'm thinking, well…
Dave Archer
  • 2,927
  • 18
  • 22
7
votes
1 answer

YSlow - What does clicking add CDN do?

I was going over my YSlow results for an internal web application and I clicked the Add CDN button. Now I have an A rating for using a CDN. What just happened?
Biff MaGriff
  • 7,901
  • 9
  • 60
  • 95
7
votes
2 answers

Performance testing UI with YSlow and Jenkins

I have a web application, on which I would like to run Yslow. The tests would need to be integrated with Jenkins. The application has a login page. If I provide the application's url, if a valid user is not logged in the login page will be…
Athomas
  • 503
  • 1
  • 5
  • 17
7
votes
2 answers

How do I make my asp.net website "more cookie free"?

I ran my website through Yahoo's YSlow on my asp.net (vb) website that has 47 pages. There were a few problems, but one of them said I get a "Grade F on Use cookie-free domains". Specifically, it says: When the browser requests a static image and…
Jason Weber
  • 5,383
  • 6
  • 35
  • 69
1
2 3
14 15