Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.4% on proxy.golang.org
Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/catcombo/go-staticfiles

Package staticfiles is an asset manager for versioning static files in web applications. It collects asset files (CSS, JS, images, etc.) from a different locations (including subdirectories), appends hash sum of each file to its name and copies files to the target directory to be served by http.FileServer. This approach allows to serve files without having to clear a CDN or browser cache every time the files was changed. This also allows to use aggressive caching on CDN and HTTP headers to implement so called "cache hierarchy strategy" (https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching#invalidating_and_updating_cached_responses).

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/catcombo/go-staticfiles
Keywords: assets, cdn-cache-invalidation, files, go, golang, hashing, static, web
License: MIT
Latest release: over 4 years ago
First release: almost 5 years ago
Namespace: github.com/catcombo
Dependent packages: 1
Dependent repositories: 1
Stars: 11 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...