测试小生 Li_Hugo
微博:http://weibo.com/lz2012bj
showslow
上一篇 /
下一篇 2013-11-19 10:59:42
/ 个人分类:工具
【客户端配置说明】
只支持FF
Set these Firefox preferences on about:config page:
YSlow
Yslow has to be configured to send data to a Show Slow instance
To send metrics to your instance located at http://192.168.100.201/showslow/, set these Firefox preferences:
Page Speed
Page Speed is configured to send metrics to showslow.com by default.
To send metrics to your instance located at http://192.168.100.201/showslow/, set these Firefox preferences:
【服务端安装说明】
1、下载
http://code.google.com/p/showslow/downloads/list
2、数据库初始化(tables.sql在解压根目录下,最好是改下编码及去掉自动增长的语句)
$ mysql -u root -p
mysql> create database showslow;
mysql> grant usage on showslow.* to showslow@localhost identified by 'showslow';
mysql> grant all privileges on showslow.* to showslow@localhost;
mysql> source tables.sql
mysql> show tables;
3、复制根目录下config.sample.php为config.php
修改配置:
$showslow_root = '/path/to/showslow/root/';
$showslow_base = 'http://192.168.100.201/showslow/'; # don't forget the trailing slash
$db = 'showslow';
$user = 'showslow';
$pass = 'showslow';
$host = 'localhost';
$YSlow2AllowedProfiles = array('ydefault');
4、修改global.php,去掉不需要忽略的ip端
例如:# 'http://192.168.',
收藏
举报
TAG: