cache icon indicating copy to clipboard operation
cache copied to clipboard

Gin middleware/handler to enable Cache

Results 44 cache issues
Sort by recently updated
recently updated
newest added

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3. Release notes Sourced from golangci/golangci-lint-action's releases. v3.0.0 What's Changed Fix grammar in action.yml by @​abennett in golangci/golangci-lint-action#356 Add description for permissions settings by @​sg0hsmt...

dependencies
github_actions

- Fix issue where cache would get snipped on being too long - Fix race condition where output from cache would get duplicated - Support for handling gzip - Remove...

CachePage doesn't insure thread safe. In the high concurrency scenario, CachePage will make response data chaos. I think CachePageAtomic is the only right choice. Why don't make CachePage private directly?

When the cache is created, a finalizer will stop ticking if no reference to the pointer func New(defaultExpiration, cleanupInterval time.Duration) *Cache { c := newCache(defaultExpiration) // This trick ensures that...

when cache the file, if file size big than 32*1024,there is a bug in the function cachedWriter:Write. the copyBuffer function in the io.go file will call Write function multile times。...

This PR refactor cacheWriter that to write cache when handler finish instead of immediately write cache in Write() Function. There are two benefits: 1. promote the write performance: once cache...

Hello, is there a way to invalidate a cached page manually?

Hi guys, Hope you are all well ! I know that I am posting this issue in a desert of non-replied issues, despite being part of the awesome gin-gonic bundle,...