PageRenderTime 102ms CodeModel.GetById 60ms app.highlight 5ms RepoModel.GetById 36ms app.codeStats 0ms

/configure.php

http://showslow.googlecode.com/
PHP | 42 lines | 37 code | 5 blank | 0 comment | 2 complexity | 183b8cabb4818ad5aaa928cd06e97432 MD5 | raw file
 1<?php 
 2require_once(dirname(__FILE__).'/global.php');
 3require_once(dirname(__FILE__).'/users/users.php');
 4
 5$TITLE = 'Configuring YSlow / Page Speed';
 6$SECTION = 'configure';
 7require_once(dirname(__FILE__).'/header.php');
 8?>
 9<p><b style="color: #CC14BE">WARNING! Only use this if you're OK with all your measurements to be recorded by this instance of ShowSlow and displayed at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a><br/>You can also <a href="http://www.showslow.org/Installation_and_configuration">install ShowSlow on your own server</a> to limit the risk.</b></p>
10
11<p>Set these Firefox preferences on <b>about:config</b> page:</p>
12<h2>YSlow</h2>
13<p><a href="http://developer.yahoo.com/yslow/">Yslow</a> has to be configured to send data to a Show Slow instance</p>
14<p>To send metrics to your instance located at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a>, set these Firefox preferences:</p>
15<ul>
16<li>extensions.yslow.beaconUrl = <b style="color: blue"><?php echo $showslow_base?>beacon/yslow/</b></li>
17<li>extensions.yslow.beaconInfo = <b style="color: blue">grade</b></li>
18<li>extensions.yslow.optinBeacon = <b style="color: blue">true</b></li>
19</ul>
20<h2>Page Speed</h2>
21<p><a href="http://code.google.com/speed/page-speed/">Page Speed</a> is configured to send metrics to <a href="http://www.showslow.com/">showslow.com</a> by default.</p>
22<p>To send metrics to your instance located at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a>, set these Firefox preferences:</p>
23<ul>
24<li>extensions.PageSpeed.beacon.minimal.url = <b style="color: blue"><?php echo $showslow_base?>beacon/pagespeed/</b></li>
25<li>extensions.PageSpeed.beacon.minimal.enabled = <b style="color: blue">true</b></li>
26</ul>
27
28<h2>dynaTrace AJAX Edition 2.0 Beta 1</h2>
29<p><a href="http://ajax.dynatrace.com/">dynaTrace AJAX Edition</a> is configured to upload send metrics to <a href="http://www.showslow.com/">showslow.com</a> when clicking on the <b><i>Upload your results to showslow.com</i></b> link in the dynaTrace AJAX Performance Report.</p>
30<p>The uploaded beacon contains information about the dynaTrace AJAX Ranks which includes overall page rank and rankings for Browser Caching, Network, JavaScript and Server-Side Activities.</p>
31<p>As for the Beta 1, the upload URL is not configurable to a different instance than www.showslow.com. It is expected to change in Beta 2, which is expected to be released in September, 2010.</p>
32
33<h2>More metrics</h2>
34<p>For more information about different beacons supported by this instance of ShowSlow, see <a href="beacon/">beacons page</a></p>
35
36<h2>Additional documentation</h2>
37<p>You can find more detailed documentation on configuring tools to be sending data to Show Slow on our wiki here.</p>
38<ul>
39	<li><a href="http://www.showslow.org/Tools_configuration">http://www.showslow.org/Tools_configuration</a></li>
40</ul>
41<?php
42require_once(dirname(__FILE__).'/footer.php');