Skip to content

Commit

Permalink
Improve preloading via fetchpriority="high"
Browse files Browse the repository at this point in the history
Implements #65
  • Loading branch information
thekid committed Dec 7, 2024
1 parent 1f8f490 commit dd7f251
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Dialog change log

## ?.?.? / ????-??-??

## 2.6.0 / 2024-12-07

* Assigned a high *fetchpriority* to the cover image to further improve
home page performance. See #65
(@thekid)
* Merged PR #66: Add an Atom feed at `/feed/atom`, showing the 20 newest
entries, each with one preview image. Requested in #63.
(@kiesel, @thekid)
Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/home.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta property="og:description" content="Fotoblog von Timm Friebe">
{{#with cover}}
<meta property="og:image" content="{{request.uri.base}}/image/{{slug}}/preview-{{preview.name}}.jpg">
<link rel="preload" href="/image/{{slug}}/full-{{preview.name}}.webp" as="image">
<link rel="preload" href="/image/{{slug}}/full-{{preview.name}}.webp" as="image" fetchpriority="high">
{{/with}}
{{/inline}}
{{#*inline "main"}}
Expand Down

0 comments on commit dd7f251

Please sign in to comment.