Forum Discussion
Carl_Brothers
Employee
Aug 19, 2008WA and Yahoo's exceptional performance rules
So the smart folks over at Yahoo headed up by Steve Souders (now with Google) created a set of platform agnostic rules to optimize web application performance. http://developer.yahoo.com/performance/...
Aug 19, 2008
I've been following Steve's blog for awhile and he does have some good suggestions on optimization many of which are available via WebAccelerator. Of the items listed on the best practices WebAccelerator and LTM can handle many of these.
1.Make Fewer HTTP Requests/Configure eTags/Add Expires or Cache-Control Header/Make AJAX Cacheable
This is achieved for repeat visitors via Intelligent Browser Referencing. WebAccelerator will insert cache-control headers and eTags into static content to ensure it is cacheable by browsers. The policies provide granular control over which types of data are cacheable and which types are not. Intelligent Browser Referencing also ensures that when a file changes the user will receive instructions that the file cached on the browser is out of date and a new version needs to be downloaded.
2. Gzip Components
Many policies by default enable compression on HTML, JavaScript, Stylesheets, and many other text files.
3. Split Components Across Domains
MultiConnect provides this functionality by spreading static content across multiple domains enabling the browser to download more than 2 items at a time. This is recommended in instances when there is a large number of objects on the page and a high percentage of first time visitors, repeat users will be loading most content from the browser cache as a result of item 1. It should be noted that enabling this negates the recommendation to reduce DNS lookups. Spreading content across domains creates additional DNS lookups.
4. No 404s
With an iRule the 404 can be changed into a 200 response code that is then considered cacheable by WebAccelerator saving the backend resources from continually processing requests for an object that does not exist.
5. Make favicon small and cacheable
WebAccelerator can not help with the size of the file but it can assist in making this cacheable. With IBR the favicon can be cached on both WebAccelerator and the client's browser for very long periods of time, if the object changes the browser will request the new version.
6. Use a Content Delivery Network
A symmetric deployment of WebAccelerators will achieve the same results as using a content delivery network by positioning the data closer to the end users. GTM can be used to direct users to closest WebAccelerator.
Some of the other recommendations may be achievable through iRules or future feature enhancements
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects