yslow_YSlow发展:入门

yslow_YSlow发展:入门

yslow

Since version 2.0, YSlow is no longer just a tool, it's a platform. You can create your own rules (performance or otherwise), combine them into rulesets, tweak scores to your liking and so on.

从2.0版开始,YSlow不再只是一个工具,而是一个平台。 您可以创建自己的规则(性能或其他规则),将它们组合为规则集,根据自己的喜好调整得分等。

Once Marcel took over and did version 3.0. YSlow can now run in many many environments: as a Firebug extension (like version 1.0 did), as a Firefox extension, Chrome extension, command-line and so on... including running as a bookmarklet in any browser (including mobile browsers). Funny aside is that YSlow version 0.XYZ was originally just a bookmarklet. Now it's a bookmarklet among everything else.

一旦Marcel接手并完成了3.0版。 YSlow现在可以在许多环境中运行:作为Firebug扩展(如1.0版一样),作为Firefox扩展,Chrome扩展,命令行等,包括在任何浏览器(包括移动浏览器)中作为书签运行。 除了有趣的是,YSlow版本0.XYZ最初只是一个书签。 现在,它是所有其他内容中的一个书签。

Now, setting up for browser extension development can be intimidating if you've never done it. But worry not, I want to show you how you can create YSlow extensions and customizations knowing nothing but JavaScript.

现在,如果您从未做过,那么设置浏览器扩展开发可能会令人生畏。 但是不用担心,我想向您展示如何创建YSlow扩展和自定义,而JavaScript却一无所知。

We'll be using the bookmarklet version for development.

我们将使用bookmarklet版本进行开发。

What's even lovelier is that YSlow is open source now on Github.

更为可爱的是,YSlow现在已在Github上开源。

敬请关注 (Stay tuned)

I wish I could tell you more, but it's father's day and the backyard BBQ party (including a rare live appearance from Anaconda Limousine) starts in an hour. And something tells me I won't feel very bloggy after the party. So YSlow would have to wait.

我希望能告诉您更多信息,但这是父亲节,而后院烧烤派对(包括Anaconda Limousine罕见的现场演出)在一小时内就开始了。 有人告诉我,聚会结束后我不会觉得很笨拙。 因此,YSlow将不得不等待。

If you cannot wait though here are some pointers:

如果您不能等待,但是这里有一些提示:

So welcome to the exciting world of YSlow development, it's fun and games and new rules and new integrations and pure webperf joy!

因此,欢迎来到YSlow开发的激动人心的世界,它充满乐趣,充满游戏,新规则,新集成和纯粹的webperf欢乐!

Tell your friends about this post on Facebook and Twitter

FacebookTwitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/yslow-development-getting-started/

yslow