Skip to content

Commit af4bfae

Browse files
committed
enterprise-1.5.0
1 parent a502b6a commit af4bfae

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed

CHANGELOG-enterprise.md

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88

99
### Bug Fix
1010

11+
# 1.5.0 (26 Jul 2024)
12+
13+
- ObjectCache: Add Dalli backend for Memcached
14+
15+
# 1.4.2 (11 Jun 2024)
16+
17+
- ObjectCache: Add `Schema.fingerprint` hook and `context[:refresh_object_cache]`
18+
1119
# 1.4.1 (30 May 2024)
1220

1321
- ObjectCache: properly handle when object fingerprints are evicted but the cached result wasn't

guides/object_cache/memcached.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: guide
3+
doc_stub: false
4+
search: true
5+
enterprise: true
6+
section: GraphQL Enterprise - Object Cache
7+
title: Dalli Configuration
8+
desc: Setting up the Memcached backend
9+
index: 3
10+
---
11+
12+
`GraphQL::Enterprise::ObjectCache` can also run with a Memcached backend via the [Dalli](https://github.com/petergoldstein/dalli) client gem.
13+
14+
Set it up by passing a `Dalli::Client` instance as `dalli: ...`, for example:
15+
16+
```ruby
17+
use GraphQL::Enterprise::OperationStore, dalli: Dalli::Client.new(...)
18+
```

guides/object_cache/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ If there is no cached response or if the fingerprints don't match, then the inco
3838
To get started with the object cache:
3939

4040
- {% internal_link "Prepare the schema", "/object_cache/schema_setup" %}
41-
- {% internal_link "Set up a Redis backend", "/object_cache/redis" %}
41+
- Set up a {% internal_link "Redis backend", "/object_cache/redis" %} or {% internal_link "Memcached backend", "/object_cache/memcached" %}
4242
- {% internal_link "Configure types and fields for caching", "/object_cache/caching" %}
4343
- Check out the {% internal_link "runtime considerations", "/object_cache/runtime_considerations" %}

guides/object_cache/schema_setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MySchema < GraphQL::Schema
2121
end
2222
```
2323

24-
See the {% internal_link "Redis guide", "/object_cache/redis" %} for details about configuring cache storage.
24+
See the {% internal_link "Redis guide", "/object_cache/redis" %} or {% "Memcached guide", "/object_cache/memcached" %} for details about configuring cache storage.
2525

2626
Additionally, it accepts some options for customizing how introspection is cached, see {% internal_link "Caching Introspection", "/object_cache/caching#caching-introspection" %}
2727

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
753347081830d3007f568b04007cb401353130f3964ed5d75a65898b1751f88b47d571e43357e09173b6ba10ec954c946fe74adcf64b29a5fa799c50ec704a7a

0 commit comments

Comments
 (0)