-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (103 loc) · 3.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<title>Shower Presentation Engine</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="shower/themes/ribbon/styles/styles.css">
<style>
.shower {
--slide-ratio: calc(16 / 9);
}
</style>
</head>
<body class="shower list">
<header class="caption">
<h1>Shower Presentation Engine</h1>
<p>Yours Truly, Famous Inc.</p>
</header>
<section class="slide" style="display: flex; flex-direction: column; justify-content: center; text-align: center;">
<h2>SSR — Подготовка к production</h2>
<p style="font-style: italic;">Никита Юстовский, Tvil.ru</p>
</section>
<section class="slide">
<h2>SSR (Server Side Rendering)</h2>
<ol>
<li class="next">Что это?</li>
<li class="next">Зачем?</li>
</ol>
</section>
<section class="slide">
<img class="cover" src="pictures/impatient-dog.jpg" alt="">
</section>
<section class="slide">
<img class="cover" src="pictures/seo.jpg" alt="">
</section>
<section class="slide">
<p style="text-align: center;">
<img src="pictures/nuxt.png" alt="" style="width: 300px; height: auto;">
</p>
<p>
Nuxt.js — это фреймворк для создания приложений на Vue.js. Можно выбрать между универсальным,
статически-сгенерированным или одностраничным приложением.
</p>
</section>
<section class="slide">
<h2>Преимущества</h2>
<p class="next">Маркетинг доволен</p>
<p class="next">Time-to-content</p>
</section>
<section class="slide">
<h2>Сложности</h2>
<p class="next">Нагрузка на сервер</p>
<p class="next">Пользовательские данные</p>
<p class="next">Фильтры</p>
</section>
<section class="slide">
<h2>Кэширование</h2>
<p class="next">nuxt-ssr-cache</p>
<p class="next">cache-manager</p>
<p class="next">cache-manager-redis</p>
</section>
<section class="slide">
<img class="cover" src="pictures/awesome.webp" alt="">
</section>
<section class="slide">
<h2>Увы</h2>
<p>
<img src="pictures/graph-before.png" alt="" style="max-width: 100%;">
</p>
</section>
<section class="slide">
<h2>Chrome DevTools</h2>
<pre><code>node --inspect</code></pre>
<pre><code>node_modules/nuxt/bin/nuxt start --port 3000</code></pre>
</section>
<section class="slide">
<h2>Heap snapshot</h2>
<p><img src="pictures/devtools.png" alt="" style="max-width: 100%;"></p>
</section>
<section class="slide">
<h2>nuxt-memwatch</h2>
<p><img src="pictures/memwatch-01.png" alt=""></p>
<p><img src="pictures/memwatch-02.png" alt=""></p>
<p class="next">i18next -> vue-i18n</p>
</section>
<section class="slide">
<h2>В итоге</h2>
<p>
<img src="pictures/graph-after.png" alt="">
</p>
</section>
<section class="slide" style="display: flex; flex-direction: column; justify-content: center; text-align: center;">
<h2 style="text-align: center;">Спасибо!</h2>
<p style="font-style: italic;">@yustnip</p>
</section>
<footer class="badge">
<a href="https://github.com/shower/shower">Fork me on GitHub</a>
</footer>
<div class="progress"></div>
<script src="shower/shower.min.js"></script>
<!-- Copyright © 2018 Yours Truly, Famous Inc. -->
</body>
</html>