Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Can i use base64 images (URI) for better SEO performance - faster site loading?
-
Hi,
Do you think the use of image data URI is SEO friendly? I got 20 JPG icons on each site, but use too many HTTP requests. So can i use base64 (URI) images for my small icons?
Thank you for answer!
-
There are pros and cons to it. I would just make sure you have some good caching rules in place and let it load once and be done with it. Realistically Google is not going to refuse to serve your page because you ran 20 http requests for some icons. That would be silly.
I try to remember that at the core of all things search related every search engines holy grail is the perfect result for your search query. In one of Matt C's videos they hit the subject of on-page factors versus content and he said they would overlook a lot of things in order to deliver the better result to the query. So for SEO purposes cache it and get to that content rocking. -
Hi,
There are some differing opinions on the benefits of using base64 images to reduce http requests. From an seo point of view I don't think it will make much of a difference one way or the other if you are only talking about 20 icon images, but from a performance point of view I would use css image sprites which also reduce http connections and are (in my opinion) easier to maintain.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Why are my blog slideshow images not indexed?
I'm managing a design blog hosted on WordPress. Each "design project" article includes a slideshow with additional images (and captions) for the project - these are images and text not found in the article itself. Every slide has the same page path as the article, but a different query param at the end. So if the article is /article the first slide would be /article?slide=1 for example. I'm having two issues: The slideshow images don't seem to be getting indexed. Screaming Frog reports duplicate meta descriptions and title tags for each slideshow page (same meta as article). I want to do what's best overall from an SEO perspective. Having the slideshow images show in Google image search is a must. And having the captions indexed might help too? But I want the Google image results linking to the article and not the individual slideshow pages. And I don't want duplicate meta issues. What's the best thing to do? Submit a sitemap that lists both article and slideshow images? "Rel canonical" the param'd slideshow urls to the base article url (not sure this makes total sense, since slide content is different from the article)? Get rid of slideshow altogether and put images in body? Some combo of these? Hopefully this makes sense. Any thoughts appreciated!
Image & Video Optimization | | theoHP0 -
Is it a legal requirement for a website to have alt tags for all images?
Someone told me it is a legal requirement for a website to have alt tags on all of their images. Is this right? Or is this bad for SEO?
Image & Video Optimization | | RachelBev0 -
Will background images get indexed?
Will images, loaded via css class, get indexed? For example something like : style="background-image: url(https://www.mysite.be/content/dam/homepage-mama.jpg/_jcr_content/renditions/cq5dam.web.2000.9999.jpeg);"
Image & Video Optimization | | nans0 -
.png vs .jpg - Which ranks better or does it matter?
Hi Moz community, I am working on a SEO project (ecommerce) and most of the images on the website are .png and I notice they do not rank but yet the .jpg do. Do you recommend I change all the .png to .jpg? They all have alt text and keyword filenames (no spam 🙂 Here is the website www.moldear.com.ar. Notice the swimming pool coping tiles are .png and the swimming pool images are .jpg. I cannot get the coping images to rank for some reason Thanks Carla
Image & Video Optimization | | Carla_Dawson0 -
Is a website with no images really a good idea?
I have a client who doesn't want to use any images at all on her website. It's a local hvac service provider. This thought has never even crossed my mind before. Who wouldn't want pictures? I know image optimization is important, and my mind keeps telling me that images are important for a good site and good user experience, but are they really necessary? I want a second opinion before I advise against not using any images.
Image & Video Optimization | | denarathbun0 -
SEO for Explicit / Medical Pictures - Will It Hurt Rankings?
I have a client with page 1 rankings for several keywords. He wants to make some updates to his website. He is offering a new service and wants to show before and after photos of the procedure. He is an OB/GYN, so the before/after pictures are very explicit and have full nudity. How will this affect his rankings? Is there something that I can do to tell Google and other SE's that these photos are medical and not pornographic? Should I host them on another domain? Just looking for thoughts and insight. Thank you in advance!
Image & Video Optimization | | itrogers0 -
SEO benefits of linking logo to homepage?
Hello All, It will be helpful if anyone can list the benefits of linking the company logo (on every page of the website) to the home page, and how important it is in terms of internal linking / SEO factors. Thank you.
Image & Video Optimization | | NortonSupportSEO0 -
Looking for beta testers for new free video SEO/marketing tool
We're getting ready to release a free tool to the SEO community that we hope will help marketers better create and optimize/market great video content. Hint: the tool has features built in to help you analyze video rankings in universal search results. 🙂 We'd like to get feedback from a few beta users first, though. If you'd be willing to give us your honest feedback in return for getting to use the tool early (and getting to suggest features you'd like), please PM me. Thanks in advance!
Image & Video Optimization | | AdamThompson0