html5 - Inline SVG vs SVG File Performance -


I am currently building a website with the help of modern browsers and mobile devices. In the case of performance, & lt; Svg & gt; It is better to inline the HTML directly inside the SVG using or & lt; Img & gt; It is better to use and / or background-image rather than instead. I run gizips on the server to make my content more seconds and I do not want to trust Javascript.

inline:

  • at least http request;
  • You can use CSS Frame Properties and change colors;
  • SVG is part of content, so it
  • is clickable and you can insert text; See several lines of irelevant code in your files;
  • If you need to change it later, you can only change one file;

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -