~/talk

Best Practices Of SVG On Ruby On Rails

Talkat RubyConf MY 2017 · 2017-10-12..10-13· [ruby-on-rails, web-performance]
links:none on file
name:Jany Mai
links:none on file
slides:none on file

Shows a Rails helper that inlines SVG files, takes the filename plus optional attributes, and prevents duplicated markup so hundreds of icons do not bloat HTML and slow rendering. Demonstrates swapping attributes for theming, rendering dynamic data into path elements, and using SVG plus JavaScript for animations and a tiny 2D demo that runs in the page. Claims better SEO because SVG text is crawlable and better performance when using an inline SVG helper instead of repeated static markup.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.