This enabled HTTP time-based cache for storage assets, primarily avatars. I have not observed If-Modified-Since from browsers during tests but I guess it's good to support regardless. It introduces a new generic httpcache module that can handle both time-based and etag-based caching. Additionally, manifest.json and robots.txt are now also cachable. |
||
|---|---|---|
| .. | ||
| attachment.go | ||
| cache.go | ||
| cors.go | ||
| cron.go | ||
| cron_test.go | ||
| database.go | ||
| database_sqlite.go | ||
| database_test.go | ||
| git.go | ||
| indexer.go | ||
| indexer_test.go | ||
| lfs.go | ||
| log.go | ||
| mailer.go | ||
| markup.go | ||
| migrations.go | ||
| picture.go | ||
| project.go | ||
| queue.go | ||
| repository.go | ||
| service.go | ||
| session.go | ||
| setting.go | ||
| storage.go | ||
| task.go | ||
| webhook.go | ||