Thursday, January 21, 2010

Less HTTP Requests Better Reponse

Have you ever used background-image url in your css? if so you know that each one means another HTTP request. To resolve this issue you can use data uri which encodes the image as base64. Only downside of this is that it is not supported in IE versions lesser than 8. The following URL shows how you can accomplish this.

http://robertnyman.com/2010/01/15/how-to-reduce-the-number-of-http-requests/

No comments:

Post a Comment