Stash embeds with the process="start"
parameter can be used to include pre-parsed or unparsed template tags in your template before any other tags or variables are parsed. This can be a more flexible alternative to EE's built-in snippet functionality.
It makes sense to combine snippets that are used globally into a single file so that they are included with the minimum of overhead. Call it somewhere in your template:
{!-- template at /stash_templates/snip/global.html --}
{stash:embed:snip:global process="start"}
Inside the stash embed:
{!-- unparsed snippets --}