New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YSlow analyze + fix the mistakes #5521
Comments
1. Make fewer HTTP requests – Grade:F ``` ``` 2. Use a CDN – Grade:F 3. Add an Expires header – Grade:F ``` ``` 4. Gzip components – Grade:F ``` ``` 5. Put CSS at the top – Grade:A 6. Put JS at the bottom – Grade:A 7. Avoid CSS expressions – Grade:B ``` ``` 8. Make JS and CSS external – Grade:n/a ``` 9. Reduce DNS lookups – Grade:A 10. Minify JS – Grade:F ``` ``` 11. Avoid redirects – Grade:A 12. Remove duplicate scripts – Grade:A 13. Configure ETags – Grade:F Overall Grade F(40) MoreInformation at:[Best Practices for Speeding Up Your Web Site](http://developer.yahoo.com/performance/rules.html) |
My ideas for improvements Point 1: I think it is not useful to merge the JS and CSS files to two big files, because the readability of the code decreases and it becomes more difficult to understand the code. Point 2: Negligible at the current state Point 3,4: Can only be achieved by server configuration Point 10: I think we should a least create minified versions of our own js-files. Any suggestions for a good js minifier? Point 13: Can only be achieved by the server configuration |
The only point seems to be point 10. At this stage, but such a thing has to be done at build time, or in a post commit hook. We could open a ticket for this if we decide to implement it. At the current stage, I suggest there is not much we can do that Yslow! advises us. Thanks Christian for the analysis :) |
I’ve already mentioned this in an email to the core developer team, but may a customized [PHP Speedy](http://aciddrop.com/php-speedy/) be a solution to points 1 + 10? |
ticket done. Created #533 to followup our findings |
Run the YSlow! analyze on the piwik User interface and fix the problems using Yahoo suggestions.
The text was updated successfully, but these errors were encountered: