From 69c0fae0c0ad640b029a96d4d0153ee30e7d6f26 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 11 Jun 2024 09:44:18 +0100 Subject: [PATCH] Add speaker notes --- slides.md | 354 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 328 insertions(+), 26 deletions(-) diff --git a/slides.md b/slides.md index bc5efb9..a25949a 100644 --- a/slides.md +++ b/slides.md @@ -41,6 +41,13 @@ layout: full
  • @jake@theorangeone.net
  • + + + - - --- layout: fact --- # Disclaimer{style="color: #fd5765;"} + + --- layout: section --- # What _is_ caching? + + --- layout: center --- @@ -93,12 +116,32 @@ h1 { + + --- layout: section --- # Caching in Wagtail + + --- layout: section --- @@ -106,20 +149,17 @@ layout: section ## 1: # Template Fragment Caching + + --- -layout: image +layout: image-right image: https://d1nvwtjgmbo5v5.cloudfront.net/media/images/Screen_Shot_2015-05-14_at_09.01.5.2e16d0ba.fill-1200x996.png backgroundSize: cover ---- - - - ---- -layout: none +class: p-0 m-0 bg-black --- ```html @@ -153,12 +193,19 @@ layout: none

    ``` - - + --- layout: cover @@ -169,11 +216,34 @@ background: /website-homepage.png # My website ### https://theorangeone.net + + --- layout: image image: /website-posts.png --- + + --- layout: none --- @@ -207,7 +277,7 @@ layout: none ``` -```html {all|3,27|4-26|all} +```html {all|1-3,27|4-26|all} {% load wagtailcore_tags wagtail_cache %} {% wagtailpagecache FRAGMENT_CACHE_TTL "listing-item" breadcrumbs show_listing_images %} @@ -244,6 +314,28 @@ layout: none } + --- layout: cover @@ -251,7 +343,16 @@ background: /website-search.png class: text-right --- -# Search +# What about
    search? + + --- layout: center @@ -271,11 +372,26 @@ code { } + + --- layout: image image: /website-search.png --- + + +--- +layout: full --- # Updating cached content @@ -312,6 +428,16 @@ code { } + + --- layout: center --- @@ -342,6 +468,19 @@ layout: center + + --- layout: section --- @@ -349,6 +488,13 @@ layout: section ## 2: # Frontend Caching + + --- layout: fact --- @@ -363,6 +509,13 @@ flowchart LR CDN-..->W ``` + + --- layout: fact --- @@ -401,12 +554,32 @@ flowchart TD CDN-...->W ``` + + --- layout: image image: https://www.cloudflare.com/network-maps/cloudflare-pops-2O04nulSdNrRpJR9fs9OKv.svg class: bg-white --- + + --- layout: cover background: /wagtail-homepage.png @@ -421,17 +594,27 @@ background: /wagtail-homepage.png } + + --- layout: image image: /map.jpg transition: fade --- + + --- layout: cover background: /map.jpg +transition: fade --- - +## Arnhem → Ireland # ~XXms + + +--- +layout: cover +background: /map.jpg +--- + +## Arnhem → XXX +# ~XXms + + + + + --- layout: fact --- @@ -461,6 +671,18 @@ flowchart LR C-.->CDN ``` + + --- layout: fact --- @@ -486,6 +708,13 @@ flowchart LR CDN---->W ``` + + --- layout: section --- @@ -513,12 +742,29 @@ flowchart LR C-.....->W ``` + + --- layout: image image: /wagtail-homepage-typo.png transition: fade --- + + --- layout: cover background: /wagtail-homepage-typo.png @@ -526,6 +772,15 @@ background: /wagtail-homepage-typo.png # It doesn't* + + --- layout: section --- @@ -534,6 +789,12 @@ layout: section # Frontend Cache Invalidation ### Wagtail secret sauce + + --- layout: fact --- @@ -557,6 +818,12 @@ flowchart LR W-.->|Frontend Cache Invalidation|CDN ``` + + --- layout: center --- @@ -606,6 +873,16 @@ code { } + + --- layout: fact --- @@ -628,6 +905,13 @@ flowchart LR CDN-.->C ``` + + --- layout: cover background: https://d1nvwtjgmbo5v5.cloudfront.net/media/images/Screen_Shot_2015-05-14_at_09.01.5.2e16d0ba.fill-1200x996.png @@ -635,6 +919,17 @@ background: https://d1nvwtjgmbo5v5.cloudfront.net/media/images/Screen_Shot_2015- # Conclusion + + --- layout: cover --- @@ -653,6 +948,13 @@ layout: cover + + --- layout: end ---