Questions tagged [data-uri]

10 questions
10
votes
2 answers

Base64 encoded images and availability of their metadata for Googlebot

If I embed an image into a page as an img-src with base64 data URI, are image's metadata (EXIF, IPTC, XMP) still available for Google's imagebot?
Evgeniy
  • 10,195
  • 1
  • 18
  • 49
8
votes
1 answer

Image data URI and SEO

Do you think the use of image data URI is SEO friendly? On the one hand saves you a HTTP request. On the other hand it really messes up your code. Especially for image files larger than 20KB or moving GIF image files of up to 200KB, the quantity of…
user3159311
  • 81
  • 1
  • 2
5
votes
1 answer

From which file size is it worth to implement images as Data URI?

As the title says: for site speed up sake it is good to implement small images like Data URIs directly into HTML source code, like inline CSS (background image url), or with usual img src. But from which file size is it worth?
Evgeniy
  • 10,195
  • 1
  • 18
  • 49
4
votes
2 answers

Is it possible to exclude Data-URIs (data:image/xxx) through robots.txt?

At the moment Google (I can not find similar informations for Bing, Yahoo!, etc.) does not index Data-URI. But until it is possible I like to know if it is possible to exclude Data-URIs of being crawled. For example:
mgutt
  • 176
  • 5
3
votes
1 answer

What's the threshold for creating data URI in css?

I'm interested in benchmarking, or best practices. I have 10 icons on my website. They are all background:url(…) no-repeat;. Assuming sprites are not the answer (for any god given reason) how big or how small a file would you place directly in data…
3
votes
0 answers

Why am I seeing "*QUERYSTRINGPII_REMOVED*" in the query string of a lot of requests

I regularly see URIs like the following that contain *QUERYSTRINGPII_REMOVED* and the IDS blows them away without further examination. I could just allow the asterisk character but it isn't legitimate for any of our pages. Is there some software…
nutcase
  • 41
  • 5
2
votes
0 answers

Data URLs not working in the address bar of Firefox Mobile browser

I've been running some experiments and it's clear to me that an SVG Data URL like this: data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23A0041E' d='M1 17l8-7 16 1 1 16-7…
Rounin
  • 2,385
  • 2
  • 17
  • 35
1
vote
0 answers

What are the advantages and disadvantages of using Base64 encoded data URIs for images?

I have been seeing people using base64 encoding on a few small icons and styles, but nothing too important like the content itself. I was wondering, is there an advantage to using base64 over a .png file? Is loading a base64 image faster than…
Avail
  • 376
  • 2
  • 14
1
vote
1 answer

Nailing down a definitive list of Data URL safe characters in 2020

I'm looking to find (or otherwise establish) an authoritative list of Data URL Safe characters in 2020. I've found older references on the web regarding which characters may or may not be Data URL Safe, most notably this one from late…
Rounin
  • 2,385
  • 2
  • 17
  • 35
0
votes
1 answer

How to make a 'data' URI image understandable for Google?

I use Schema.org markup for my website to make it more understandable for search engines. I generate an image (using PHP) for each post. That image isn't a stored image with a specific URL. So it won't start with a domain name and end with something…