mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 17:51:40 -05:00
![]() The implementation of object-size approximation which is used for cache eviction purposes in the `InMemoryLRUCache` implementation (via `lru-cache`) was a short-term location for extensible logic which is better located within `ApolloServerBase`. This is particularly important since future logic may necessitate knowing or understanding the current size (roughly, memory usage) of the in-memory storage. Effective immediately, this adds support for providing a `dispose` function which is called when an object is purged from the cache to make room for another. |
||
---|---|---|
.. | ||
apollo-cache-control | ||
apollo-datasource | ||
apollo-datasource-rest | ||
apollo-engine-reporting | ||
apollo-engine-reporting-protobuf | ||
apollo-server | ||
apollo-server-azure-functions | ||
apollo-server-cache-memcached | ||
apollo-server-cache-redis | ||
apollo-server-caching | ||
apollo-server-cloud-functions | ||
apollo-server-cloudflare | ||
apollo-server-core | ||
apollo-server-env | ||
apollo-server-errors | ||
apollo-server-express | ||
apollo-server-hapi | ||
apollo-server-integration-testsuite | ||
apollo-server-koa | ||
apollo-server-lambda | ||
apollo-server-micro | ||
apollo-server-plugin-base | ||
apollo-server-testing | ||
apollo-tracing | ||
graphql-extensions |