Similar to my last question, I\'d like to have a PHP function that can take a local path and tell me (a) how much the total file size is for HTML, CSS, JS and images, and (b) the total load time for t
So basically I\'ve ran my site through ySlow and it has informed me that I should add Expires headers to some of the elements on my page to help with the caching. The page is mainly static content cur
We have about 30 external JavaScripts on our page. Each is already minified. To reduce HTTP requests and page load time, we are considering 开发者_开发百科combining them to a single file.
I\'d like to have a tool in Perl to gather useful statistics for pag开发者_运维问答e loads (eg, download time/speed, CDN information,headers, dns lookups, compressions)
Use a Conten开发者_StackOverflowt Delivery Network (CDN) Compress components with gzip Configure entity tags (ETags)
YSlow has suggested that I use HTTP compression to improve the performance of my site. However, as noted by Yahoo that are some problems.
I\'m using YSlow to improve the speed of my site, and I\'m having trouble with the \"compress components with gzip\" grade. I have this in my .htaccess file:
I was wondering whether there is a simple PHP library to test the loading speed of a web page or a single resource sim开发者_运维技巧ilar to Google Page Speed and Yahoo! YSlow.
Is i开发者_如何学编程t true that we should disable etags if we are compressing with apache because the etags will be different each time?
When I run YSlow against my site, I get an \"F\" on the \"Configure ETags\" item; it claims that there are no etags for many (all?) of my images, stylesheets, etc.