Preload stylesheets
daun opened this issue · comments
Philipp Daun commented
Describe the proposed solution
- Parse the
head
of preloaded pages for stylesheets and prefetch them - Stylesheets are always render-blocking when in the head, so it makes sense to prefetch them
- Should use native rel=prefetch markup as swup has no concept of an asset cache
Alternatives considered
- Implement it myself in the
page:preload
hook
How important is this feature to you?
- Nice to have
- Would make my life a lot easier
- I cannot use swup without it