hashfs

Implementation of io/fs.FS that appends SHA256 hashes to filenames to allow for aggressive HTTP caching. (by benbjohnson)

Hashfs Alternatives

Similar projects and alternatives to hashfs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hashfs alternative or higher similarity.

hashfs reviews and mentions

Posts with mentions or reviews of hashfs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • ETag and HTTP Caching
    4 projects | news.ycombinator.com | 10 Apr 2024
    An approach like https://github.com/benbjohnson/hashfs allows file names to be updated at runtime to be content hashed. This removes the need for the extra "304 Not Modified" API calls from the client. This content hash based file renaming is usually done using a build step which renames files. For applications where the static file serving and HTTP request processing are done in the same application, this can be done in memory without a build step for file renames.

    I am using that approach in my project https://github.com/claceio/clace. It removes the need for a build step while making aggressive static file caching possible.

  • Show HN: Clace – Platform for secure internal web applications
    6 projects | news.ycombinator.com | 18 Oct 2023
  • A Github Gist implementation of the upcoming io/fs interface (go 1.16)
    2 projects | /r/golang | 13 Jan 2021
    About io/fs, there is also this implementation: https://github.com/benbjohnson/hashfs which demonstrates a less obvious (until it clicks that you can build a FS that works on top of another one!) but really practical use case.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 5 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic hashfs repo stats
3
342
2.6
2 months ago

benbjohnson/hashfs is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of hashfs is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com