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
-
Does Autoplay video effect SEO?
I'm trying to find out if autoplay videos (muted) on the homepage effect seo in anyway? Currently our site ranks around position four on the first page, but we have noticed one competitor we monitor have long auto playing videos on their sites and were wondering if they are a good or bad factor? Any info you would like to share would be great. Thanks
Image & Video Optimization | | 5TW0 -
Would you recommend changing image file names retroactively?
We'll be optimizing file names moving forward, but it hasn't been done in the past. I have probably 1,500 that would need to be changed, so want to make sure it's a valuable use of time/worth the effort. 🙂 Also, has anyone used Media File Renamer for wordpress? Seems this would be a good way to rename files without needing to reupload everything. Thanks!
Image & Video Optimization | | jennafrye0 -
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 -
Can you get rich snippets for Youtube hosted videos?
My website has several videos, mostly product reviews and tutorials. I'd like for these videos to show in the SERPs with rich snippets, but I am hosting them through Youtube. What is your experience with Youtube hosted videos? Do they generate rich snippets? Or will Google always rank the Youtube video over your web page?
Image & Video Optimization | | TMI.com1 -
.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 -
Videos - Host on our Site or YouTube or Both
Hi We are redesigning our site and going to post how to videos on some of our product pages.
Image & Video Optimization | | klbklb90015
For SEO purposes I want to post the videos on our site with a video transcription either self hosting or through Wistia. Can we also post the same videos on YouTube or is that duplicate content and will we get hurt somehow? Thanks.0 -
Metadata stored in images read by search engines?
Does anyone know if metadata stored in images is read by search engines?My company stores images in digital asset management systems and metadata keyword tags are added to the images, so they can easily be found within the system. Since these keywords are stored in the image file, I was wondering if search engines can read them once the image is placed on the website, but I'm not finding any evidence of this in my research.
Image & Video Optimization | | unitedairlines0