add perfomance chapters
This commit is contained in:
parent
9a1f78947b
commit
ececd7dcb5
101 changed files with 8014 additions and 62 deletions
6
implementation/18-caching/templates/hello.html
Normal file
6
implementation/18-caching/templates/hello.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{> partials/head }}
|
||||
<div class="column col-auto">
|
||||
<h1>Hello {{name}}</h1>
|
||||
<p>The time is {{now}}</p>
|
||||
</div>
|
||||
{{> partials/foot }}
|
5
implementation/18-caching/templates/page.html
Normal file
5
implementation/18-caching/templates/page.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{> partials/head }}
|
||||
<div class="column col-6 col-mx-auto">
|
||||
{{{content}}}
|
||||
</div>
|
||||
{{> partials/foot }}
|
19
implementation/18-caching/templates/page/list.html
Normal file
19
implementation/18-caching/templates/page/list.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pages</title>
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.classless.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<ul>
|
||||
{{#pages}}
|
||||
<li>
|
||||
<a href="/page/{{title}}">{{id}}: {{title}}</a>
|
||||
</li>
|
||||
{{/pages}}
|
||||
</ul>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
17
implementation/18-caching/templates/page/show.html
Normal file
17
implementation/18-caching/templates/page/show.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{title}}</title>
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.classless.min.css">
|
||||
<link rel="stylesheet"
|
||||
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/styles/default.min.css">
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script>
|
||||
<script>hljs.highlightAll();</script>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
{{{content}}}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
11
implementation/18-caching/templates/pagelist.html
Normal file
11
implementation/18-caching/templates/pagelist.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{> partials/head }}
|
||||
<div class="column col-6 col-mx-auto">
|
||||
<ul>
|
||||
{{#pages}}
|
||||
<li>
|
||||
<a href="/page/{{title}}">{{id}}: {{title}}</a>
|
||||
</li>
|
||||
{{/pages}}
|
||||
</ul>
|
||||
</div>
|
||||
{{> partials/foot }}
|
3
implementation/18-caching/templates/partials/foot.html
Normal file
3
implementation/18-caching/templates/partials/foot.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
</div>
|
||||
</body>
|
||||
</html>
|
11
implementation/18-caching/templates/partials/head.html
Normal file
11
implementation/18-caching/templates/partials/head.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>No Framework: {{title}}</title>
|
||||
<link rel="stylesheet" href="/css/spectre.min.css">
|
||||
<link rel="stylesheet" href="/css/spectre-exp.min.css">
|
||||
<link rel="stylesheet" href="/css/spectre-icons.min.css">
|
||||
</head>
|
||||
<body class="container">
|
||||
<div class="columns">
|
Loading…
Add table
Add a link
Reference in a new issue