Webdev:Cesium:Beacons: Difference between revisions
Jump to navigation
Jump to search
Overview
YSlow Beacon Parameters
Future Beacon Parameters
YSlow
(→YSlow) |
|||
Line 54: | Line 54: | ||
=== YSlow<br> === | === YSlow<br> === | ||
*Page load time | |||
*Number of JS files | *Number of JS files | ||
*Number of CSS files | *Number of CSS files |
Revision as of 22:01, 30 July 2009
Overview
This page is for tracking beacon information from YSlow and PageSpeed. It is intended both as a reference and brainstorming tool.
YSlow Beacon Parameters
- w – size of the page in bytes (v1 sent size in kilobytes)
- o – overall YSlow grade calculated for the profile used
- u – URL of the page tested
- r – total amount of requests with empty cache
- s – page identifier for yahoo pages (like yahoo music, sports, etc), blank on non-yahoo pages
- i – testing profile used:
- ydefault – YSlow (V2)
- yslow1 – Classic (V1)
- yblog – Small Site or Blog
- or custom profile’s title with dash-encoded spaces
- ynumreq – Make fewer HTTP requests
- ycdn – Use a Content Delivery Network (CDN)
- yexpires – Add Expires headers
- ycompress – Compress components with gzip
- ycsstop – Put CSS at top
- yjsbottom – Put JavaScript at bottom
- yexpressions – Avoid CSS expressions
- yexternal – Make JavaScript and CSS external
- ydns – Reduce DNS lookups
- yminify – Minify JavaScript and CSS
- yredirects – Avoid URL redirects
- ydupes – Remove duplicate JavaScript and CSS
- yetags – Configure entity tags (ETags)
- yxhr – Make AJAX cacheable
- yxhrmethod – Use GET for AJAX requests
- ymindom – Reduce the number of DOM elements
- yno404 – Avoid HTTP 404 (Not Found) error
- ymincookie – Reduce cookie size
- ycookiefree – Use cookie-free domains
- ynofilter – Avoid AlphaImageLoader filter
- yimgnoscale – Do not scale images in HTML
- yfavicon – Make favicon small and cacheable
PageSpeed Beacon Parameters
TBD.
http://code.google.com/p/page-speed/issues/detail?id=58
Future Beacon Parameters
A future goal is to have YSlow and PageSpeed beacon detailed information about a page's performance. This can be in addition to a normal GET request. The URL parameters can have basic information while a larger response in the POST body can contain detailed statistics regarding a page's assets and score.
YSlow
- Page load time
- Number of JS files
- Number of CSS files
- Number of images
- Total size of components (HTML, JS, CSS, Images)
- Cached/uncached page weight
- Components that do not meet rules
- URL
- Criteria
PageSpeed
TBD.