Skip to content
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

Use sprites instead of separate images #3

Open
jussi-kalliokoski opened this issue Nov 23, 2011 · 2 comments
Open

Use sprites instead of separate images #3

jussi-kalliokoski opened this issue Nov 23, 2011 · 2 comments

Comments

@jussi-kalliokoski
Copy link
Member

Less requests, and less load in general.

Also, fixes the preloading issue caused by the fact that the image paths are hardcoded and don't refer to the right place, unless the page is running in the script's working directory (which also means unnecessary 404 requests).

Is there a tool for this, to save the trouble from manually doing it, maintaining sprites is chaos?

@nddrylliog
Copy link

@devongovett
Copy link
Member

What about embedding the images right in the CSS as base64? Seems easier to do and makes for even one fewer request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants