Skip to content
View davelevine's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report davelevine

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
davelevine/README.md

Pinned Loading

  1. upshot upshot Public

    A set-it-and-forget-it tech news digest

    Python

  2. portfolio-v2 portfolio-v2 Public

    Static portfolio developed with Astro

    Astro

  3. sharrr-svelte sharrr-svelte Public

    Forked from stophecom/sharrr-svelte

    End-to-end encrypted file transfer.

    TypeScript

  4. How to Build a URL Shortener with Cl... How to Build a URL Shortener with Cloudflare Workers
    1
    # How to Build a URL Shortener with Cloudflare Workers
    2
    
                  
    3
    ## Summary
    4
    
                  
    5
    This will serve as a step-by-step guide for creating a URL shortener with Cloudflare Workers. The project is a fork of [Atomic URL](https://github.com/ngshiheng/atomic-url) by Jerry Ng, although I've heavily modified it to suit my needs.
  5. Rewrite Subdomain URL for B2 with Cl... Rewrite Subdomain URL for B2 with Cloudflare CDN
    1
    ## Remove B2 `/file/<bucket-name>` Prefix
    2
    
                  
    3
    While the article from [James Ross](https://jross.me/free-personal-image-hosting-with-backblaze-b2-and-cloudflare-workers/) is solid and works very well with images, I found it fell short with any streaming video with the [Bandwidth Alliance](https://www.cloudflare.com/bandwidth-alliance/) (to be fair, the article mentions nothing about videos, only images). Although the URL was being rewritten, it didn't seem to be handling video properly and even short videos were taking a long time to load.
    4
    
                  
    5
    That being said, the following seems to work perfectly...
  6. How to Properly Cache Content Hosted... How to Properly Cache Content Hosted on Backblaze B2 with Cloudflare
    1
    # How to Properly Cache Content Hosted on Backblaze B2
    2
    
                  
    3
    ## Summary
    4
    
                  
    5
    Because I use Cloudflare to manage my domains and Backblaze for backups, it only made sense to take advantage of their [Bandwidth Alliance](https://www.cloudflare.com/bandwidth-alliance/) for [creating my own CDN](https://help.backblaze.com/hc/en-us/articles/217666928-Using-Backblaze-B2-with-the-Cloudflare-CDN). This has been incredibly helpful for image hosting for this knowledge base, however, I recently noticed that caching wasn't working as it should.