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
1
340
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
Tweet
Share
More Decks by Salahutdinov Dmitry
See All by Salahutdinov Dmitry
Fullstack monitoring
dsalahutdinov
0
200
Product metrics for developers
dsalahutdinov
0
67
Kubernetes-native Ruby development
dsalahutdinov
0
460
Business Impact Driven Development
dsalahutdinov
0
330
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
370
bidd.pdf
dsalahutdinov
0
280
Optimistic UI with Logux & Ruby
dsalahutdinov
0
240
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
1.8k
Other Decks in Programming
See All in Programming
GoのGenericsによるslice操作との付き合い方
syumai
2
450
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
390
イベントストーミングから始めるドメイン駆動設計
jgeem
4
810
単体テストの始め方/作り方
toms74209200
0
430
事業戦略を理解してソフトウェアを設計する
masuda220
PRO
21
5.9k
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
210
PT AI без купюр
v0lka
0
230
Create a website using Spatial Web
akkeylab
0
260
Javaに鉄道指向プログラミング (Railway Oriented Pro gramming) のエッセンスを取り入れる/Bringing the Essence of Railway-Oriented Programming to Java
cocet33000
2
540
UPDATEがシステムを複雑にする? イミュータブルデータモデルのすすめ
shimomura
1
530
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
250
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
180
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
GraphQLとの向き合い方2022年版
quramy
46
14k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Producing Creativity
orderedlist
PRO
346
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
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