home.social

#edgefunctions — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #edgefunctions, aggregated by home.social.

  1. Next month #Vercel invoice will be a disaster! Working on usage #optimisation. Still struggling with Data Cache Writes / Reads & Fast Origin Transfer. Not sure what happened here. #hosting #deployment #nextjs #middleware #edgefunctions

  2. I finally fixed the un-themed flash on my site using #Netlify #EdgeFunctions and a theme cookie. I also added a basic fade view transition too, although it seems a bit hit and miss.

    I do wonder whether there's a cleaner way of preventing the function running on non-HTML files though. At least locally it seemed to be running on every request.

    ```
    export const config: Config = {
    path: "/*",
    excludedPath: [
    "/*.css",
    "/*.js",
    "/*.svg",
    ...
    ]
    }
    ```

  3. With #Hono, I can make my own link shortener, a redirector in about 30 lines of code. Plus, it very lightweight and almost costs nothing.

    See it in action: aka.mrwillcom.com

    This is hosted on #Vercel's #EdgeFunctions, with visits tracking data stored in #Redis on #Upstash.

    #javascript #serverless #linkshortener #opensource

  4. My latest blog post, Creating an OG image using React and Netlify Edge Functions just dropped. Maybe you'll find it helpful.

    dev.to/opensauced/creating-an- #reactjs #edgefunctions

  5. A Service is a modular piece of edge-enabled software that runs on (and utilizes the features of) Fleek Network.

    In this guide, we will explain what services are, how they work, and walk through a few examples of how to use them in your tech stack

    blog.fleek.network/post/fleek-

    #fleek #fleekNetwork #ipfs #dweb #webDev #distributed #programming #developer #web #cdn #edgeFunctions #serverless #paas