---
title: Optimizing Head Order
intro: Place high-priority elements before stylesheets and scripts
---
The order of elements in the `
` can affect perceived page performance. Ideally, the `` element should appear early, before stylesheets and scripts, while other meta tags like Open Graph and description can go last. See [capo.js](https://rviscomi.github.io/capo.js/) for background on why this matters.
By default, `seo/head` outputs all tags in one block. If you want to split priority tags from the rest, use Kirby's [snippet slots](https://getkirby.com/docs/guide/templates/snippets#passing-data-to-snippets__slots):
```php
```
This outputs the `` first, then your stylesheets and scripts from the slot, then the remaining meta tags (description, Open Graph, robots, etc.).