All Projects → saracen → Lfscache

saracen / Lfscache

Licence: mit
LFS Cache is a caching Git LFS proxy.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Lfscache

Androidutilcode
AndroidUtilCode 🔥 is a powerful & easy to use library for Android. This library encapsulates the functions that commonly used in Android development which have complete demo and unit test. By using it's encapsulated APIs, you can greatly improve the development efficiency. The program mainly consists of two modules which is utilcode, which is commonly used in development, and subutil which is rarely used in development, but the utils can be beneficial to simplify the main module. 🔥
Stars: ✭ 30,239 (+67097.78%)
Mutual labels:  cache
Tiny Http Proxy
Maybe the tiniest HTTP proxy that also has a cache
Stars: ✭ 34 (-24.44%)
Mutual labels:  cache
Python Diskcache
Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
Stars: ✭ 992 (+2104.44%)
Mutual labels:  cache
Ecache
👏👏 Integrate cache(redis) [flask etc.] with SQLAlchemy.
Stars: ✭ 28 (-37.78%)
Mutual labels:  cache
Laravel Couchbase
Couchbase providers for Laravel
Stars: ✭ 31 (-31.11%)
Mutual labels:  cache
Sst Elements
SST Architectural Simulation Components and Libraries
Stars: ✭ 36 (-20%)
Mutual labels:  cache
Python Common Cache
This project is a cache component based on the memory and it is lightweight, simple and customizable. 🐍 😃
Stars: ✭ 21 (-53.33%)
Mutual labels:  cache
Extended image
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
Stars: ✭ 1,021 (+2168.89%)
Mutual labels:  cache
Easyandroid
一个完整基于kotlin的安卓开发框架,采用了mvvm设计模式。涵盖了: 1、基于retrofit2封装的通过kotlin协程实现的网络框架 2、基于阿里开源router修改的api-router实现项目模块化 3、基于glide的图片加载缓存框架 4、基于room实现的往来数据缓存加载 5、基于step实现的数据异步提交 6、基于PreferenceHolder实现的本地数据快速存储 7、基于mlist实现的简单复杂列表的快速开发扩展 8、定制的toolbar可以自适应异形屏,挖孔屏,水滴屏等等。。 本框架几乎涵盖了开发所需的所有模块组件。简单fork之后就可以基于框架快速开发。
Stars: ✭ 33 (-26.67%)
Mutual labels:  cache
Spring Boot
spring-boot 项目实践总结
Stars: ✭ 989 (+2097.78%)
Mutual labels:  cache
Zache
Zero-footprint Ruby In-Memory Thread-Safe Cache
Stars: ✭ 30 (-33.33%)
Mutual labels:  cache
Apicache
Simple API-caching middleware for Express/Node.
Stars: ✭ 957 (+2026.67%)
Mutual labels:  cache
Exchange Rates
💱 Querying a rate-limited currency exchange API using Redis as a cache
Stars: ✭ 37 (-17.78%)
Mutual labels:  cache
Egjs Persist
Provide cache interface to handle persisted data among history navigation.
Stars: ✭ 27 (-40%)
Mutual labels:  cache
Synchrotron
Caching layer load balancer.
Stars: ✭ 42 (-6.67%)
Mutual labels:  cache
Next Pwa
Zero config PWA plugin for Next.js, with workbox 🧰
Stars: ✭ 909 (+1920%)
Mutual labels:  cache
Htmlcache
Laravel middleware to cache the rendered html
Stars: ✭ 35 (-22.22%)
Mutual labels:  cache
Wheel
关于net nio os cache db rpc json web http udp tcp mq 等多个小工具的自定义实现
Stars: ✭ 45 (+0%)
Mutual labels:  cache
Rxnetwork
A swift network library based on Moya/RxSwift.
Stars: ✭ 43 (-4.44%)
Mutual labels:  cache
Use Axios Request
Data fetching is easy with React Hooks for axios!
Stars: ✭ 38 (-15.56%)
Mutual labels:  cache

lfs-cache

lfs-cache is a caching proxy for Git LFS servers.

Usage

Docker

$ docker run --name lfscache --rm -d -v /my/cache/dir/lfs:/lfs saracen/lfscache:latest --url github.com/org/repo.git/info/lfs --http-addr :80  --directory /lfs

Binary

Download the correct binary for your system.

$ ./lfscache --url github.com/org/repo.git/info/lfs --directory /my/cache/dir/lfs --http-addr=:9876

--directory specifies the cache directory. The layout is the same used by the Git LFS client, so it might be a good idea to copy over your .git/lfs/objects directory to preload the cache (cp -r .git/lfs/objects /my/cache/dir/lfs). The tmp and incomplete directories do not need to be copied over.

Now you need to have your Git LFS client point to the proxy. There are several ways to do this. The easiest method is changing the lfs url that will be used in your local git config:

# note that repo.git/info/lfs is not required
git config lfs.url http://localhost:9876/

# you can confirm the Endpoint that will be used by running
git lfs env | grep Endpoint
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].