Instance Property
eTagHashCacheCapacity
How many file content hashes to keep for
fileio and middleware created by app.makeFileMiddleware().var eTagHashCacheCapacity: UInt
Discussion
Only files served with advancedETagComparison enabled are hashed, and each entry is just a path and a digest — raise this when serving more such files than the default holds, so their hashes aren’t evicted before they’re used again. The capacity is set when the application is created.