avel uses a few browser-native features to improve perceived speed while staying light. Most are enabled by default and can be changed in config.toml.

View Transitions

Pages can cross-fade with CSS only. No JavaScript is used. This is off by default: cross-document view transitions can show a brief white flash on dark themes during navigation. Enable it if your site is light, or if you accept that trade-off.

[extra]
view_transitions = true   # opt-in; off by default

Speculation Rules

Internal links can be prerendered when hovered, so clicking often feels instant.

[extra]
speculation_rules = true

This adds one declarative <script type="speculationrules">. It is an instruction to the browser, not runtime application code.

content-visibility

Long lists defer off-screen rendering until they scroll into view. Visible text still paints immediately.