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
PWA, SEO, SSR
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
aggre
November 04, 2017
Technology
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PWA, SEO, SSR
https://polymer-japan.connpass.com/event/69080/
の登壇資料です
aggre
November 04, 2017
More Decks by aggre
See All by aggre
The money for the openable and shareable era
aggre
0
540
エンジニアは会社に何を求めるか? / What does engineers wants the company?
aggre
0
180
The importance ofopen assets
aggre
0
120
Fully AMP pros and cons
aggre
0
250
Web Components のリアル/ Realistic Web Components
aggre
12
8.6k
OSS の持続的開発をトークンエコノミーで支援する / Dev Token @OSS Universe
aggre
1
420
OSS の持続的開発をトークンエコノミーで支援する / Dev Token @CryptoBowl
aggre
1
510
Mastering lit-html directive
aggre
0
480
非中央集権ウェブ / Decentralized Web
aggre
3
650
Other Decks in Technology
See All in Technology
AIは実装を速くする。では、私たちは何を今作るべきか?-立場を越えてリリースに向き合ったチーム開発の実践 / 20260801 Hiromi Nakaya and Naoki Takahashi
shift_evolve
PRO
3
460
SO-101×VLAによる3色キューブのピック&プレース
abeja
0
170
【AG-UI × A2UI × MCP Apps】Generative UIをやさしく解説する
nrinetcom
PRO
1
100
AI時代の強いチームの作り方
yuukiyo
26
16k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
53k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
ボトムアップ文化が強い組織で セキュリティをどう根付かせていくかの現在進行形の話 / Making Security Stick in a Bottom-Up Organization
yamaguchitk333
0
210
サイバー捜査員研修(後半)
nomizone
1
830
MIRU 2026 チュートリアル
keisuke198619
0
880
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
380
Data Hubグループ 紹介資料
sansan33
PRO
0
3.2k
SmartHR Engineering Team Deck
smarthr
1
1.6k
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Amusing Abliteration
ianozsvald
1
240
ラッコキーワード サービス紹介資料
rakko
1
4.3M
Discover your Explorer Soul
emna__ayadi
2
1.2k
Building Adaptive Systems
keathley
44
3.2k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
250
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
550
Designing Powerful Visuals for Engaging Learning
tmiket
1
480
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
460
Typedesign – Prime Four
hannesfritz
42
3.1k
Transcript
PWA, SEO, SSR
PWA
None
Service Worker HTTPS
Service Worker HTTPS
Polymer PWA
polymer init polymer build
ls build/es6-unbundled - service-worker.js - manifest.json
SEO/Bot
<hello-world></hello-world>
<hello-world> #shadow-root <style> h1 { color: blue } </style> <h1>Hello,
world!</h1> </hello-world>
<hello-world></hello-world>
SSR
Node.js
require('@skatejs/ssr/register'); const render = require('@skatejs/ssr’); class Hello extends HTMLElement {
connectedCallback () { const shadowRoot = this.attachShadow({ mode: 'open' }); shadowRoot.innerHTML = '<span>Hello, world!</span>'; } } customElements.define('x-hello', Hello); const hello = new Hello(); render(hello).then(console.log);
None
ShadowDOM?
<hello-world> #shadow-root <style> h1 { color: blue } </style> <h1>Hello,
world!</h1> </hello-world>
https://host/?dom=shady window.ShadyDOM = { force: true };
Rendertron
Prerender.io
Renderly
None