yslow

Rails packing CSS yslow import directive

I have an RoR application with multiple CSS files. YSlow complains about to many http request for the css files. Now I have installed Jammit, to compress my css files into one file. That works, but when some CSS file has an "import" directive, i get still an http request instead of simply get an single css file with all the included f...

Combining JavaScript files as recommended by YSlow - optimal size?

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. This was recommended by the YSlow tool. Is this wise, or is it better to combine them into, say, two files with 15 scripts each? Is there an optimal size for the c...

Need help adding Expires headers

Hello everybody, 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 currently hosted on an Apache/2 server. If it helps at all the site is here. I'm not really sure how you alter the HTTP i...

How much time would be good to set in expire header for a website?

"Web pages are becoming increasingly complex with more scripts, style sheets, images, and Flash on them. A first-time visit to a page may require several HTTP requests to load all the components. By using Expires headers these components become cacheable, which avoids unnecessary HTTP requests on subsequent page views....

PHP function for getting file size and loading time for a page.

Hi again everybody, 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 this page. Like YSlow I think, but as a PHP function. Any thoughts? I looked around and was wondering can I use CURL ...

YSlow & Google Page Speed's advice on .htaccess conflict

Thanks in advance for your help. I've been experimenting with YSlow and Google page speed, both provide very helpful advice and neither seems to have an advantage over the other but when it comes to Entity tags they seem to disagree or conflict in some way. The following code satisfies YSlows 'Configure entity tags (ETags)' pointer He...

I installed expires header at IIS 7.5 but still do not show at Firefox firebug yslow or .net plugin

Hello. i did setup like this but result is still like this . if you tell me where do i make error i appreciate that thank you. ...

As javascript in <head> blocks HTML rendering, is it not the case with CSS also?

As JavaScript in blocks HTML rendering, and it's good practice to keep JavaScript at bottom, just before closing body tag , is it not the case with CSS also? I know we can't keep external CSS outside . ...