Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Outdated browser detection with Browserslist
Search
Salahutdinov Dmitry
March 23, 2019
Programming
350
1
Share
Outdated browser detection with Browserslist
Check the outdated browser in the same way on both: front-end and back-end
Salahutdinov Dmitry
March 23, 2019
More Decks by Salahutdinov Dmitry
See All by Salahutdinov Dmitry
Fullstack monitoring
dsalahutdinov
0
230
Product metrics for developers
dsalahutdinov
0
73
Kubernetes-native Ruby development
dsalahutdinov
0
480
Business Impact Driven Development
dsalahutdinov
0
360
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
380
bidd.pdf
dsalahutdinov
0
300
Optimistic UI with Logux & Ruby
dsalahutdinov
0
260
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
2k
Other Decks in Programming
See All in Programming
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
Vibe NLP for Applied NLP
inesmontani
PRO
0
510
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
4
1.2k
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
3
730
Back to the roots of date
jinroq
0
520
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
190
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
300
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
110
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
260
tRPCの概要と少しだけパフォーマンス
misoton665
2
240
Making the RBS Parser Faster
soutaro
0
570
第3木曜LT会 #28
tinykitten
PRO
0
120
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
First, design no harm
axbom
PRO
2
1.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Being A Developer After 40
akosma
91
590k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
780
Transcript
LT: Outdated Browser Detection Dmitry Salahutdinov
Why?
None
Frontend Pareto principle 10 % Uses actual browser 90 %
10 % Old browsers 90 % Actual browsers usage Money spend for supporting browsers
None
Frontend headache
Converts rules into list of browsers
None
Mozilla/5.0 (Windows NT 10.0; rv:54.0) Gecko/20100101 Firefox/54.0 ❌ Matches UA
string with the list
Js is not supported?
Matches UA string with the list
Frontend Backend Share the only one config
Single project Frontend Backend RAILS_ROOT/browsers.json
Separated frontend
Gets back to frontend for browsers list
Gets back to frontend for browsers list
Caching the result
dziękuję #❤ @dsalahutdinov1 @dsalahutdinov https://dev.to/amplifr https://amplifr.com https://dev.to/amplifr/outdated-browser-detection-with-browserslist-10co browserslist_useragent gem