 
      
    | You are here | joyofcode.xyz | ||
| | | | | khromov.se | |
| | | | | In this blog post we'll go over a lesser documented but powerful part of SvelteKit - event.locals. Locals are a way to register trusted, server-side, per-request state. The most common use case for locals is to associate some type of data with the current request. Example use cases for locals are: Since locals are per-request, they don't leak between requests, and disappear immediately when the request has been delivered to the user. Locals are common in other frameworks - you might already be familiar w... | |
| | | | | hartenfeller.dev | |
| | | | | In this post, we look into how we can build our own Authentication and Authorization solution for SvelteKit. We will store and hash user credentials, create sessions with Cookies, and make the session info available to the app through hooks and locals. | |
| | | | | will-keleher.com | |
| | | | | Containers serving production traffic can sometimes get into bad states that they can't recover from. Automatically shutting down these problem containers can make production systems more resilient until you're able to debug and fix whatever the root cause is. | |
| | | | | open-web-advocacy.org | |
| | | |||