html - Is there performance difference in image source file than base64? -


i wondering if there performance difference between using pictures base64, compared using actual files, user has download on fly.

an image http url of own:

  • requires separate http request (which slow on http 1 fast on http 2)
  • can loaded in parallel resource references it
  • can cached doesn't need requested subsequence pages or reloads of initial page
  • probably requires fewer bytes transfer base64 equivalent

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -