... I guess it would be useful in some cases, but as you mention, for multi-language set ups, it wouldn t be. FYI, GTmetrix wouldn t use the name passed in

Message 1 of 5
, Oct 20, 2010

0 Attachment

On 10/20/10 11:48, Marcel Duran wrote:

> Since we're just sending the rule id like ycdn, yemptysrc, etc, it's up
> to the client to map the id to a name, specially for other languages,
> does it help if we send the official rule name in the beacon?

I guess it would be useful in some cases, but as you mention, for
multi-language set ups, it wouldn't be. FYI, GTmetrix wouldn't use the
name passed in via the beacon.

Adrian

Sergey Chernyshev

Duran, Actually if you check this page: http://developer.yahoo.com/yslow/help/beacons.html#version2 - it doesn t mention yemptysrc ;) Ideally, it would be nice

It's understandable that YSlow might send more rules if custom sets are defined, but it'd be harder to maintain in ShowSlow and is not supported yet. If there is interest in this functionality, I'll be happy to add custom rules to YSlow beacon configuration.

Sending meta-data about the beaconing software along with the data seems wasteful - just keep the documentation updated and that'd be good enough.

The beaconing function process all rules and send them all when using beaconInfo = grade, it means any new rule will be sent as well. In this case "yemptysrc" is the new rule on YSlow 2.1.0.

Since YSlow is extensible anyone can create new rules and/or rulesets and these can potentially be beaconed without prior knowledge.

Any new rule officially added to YSlow (on ruleset id = ydefault, parameter i on beacon) will be publicly announced on YDN and on some well know performance related lists, like the "Avoid empty src or href" beconed as "yemptysrc" which is documented at http://developer.yahoo.com/performance/rules.html#emptysrc

Do you have any suggestion to help us keep up in sync?

I noticed however you've added this new rule to ShowSlow as "Avoid Empty Image src". Actually this rule checks for src or href on tags that fetch remote content, not only bound to images:

- <img src="">

- <script src="">

- <link rel="stylesheet" href="">

Since we're just sending the rule id like ycdn, yemptysrc, etc, it's up to the client to map the id to a name, specially for other languages, does it help if we send the official rule name in the beacon?