Skip to content

Commit 0fe0f92

Browse files
committed
v6.45.0
1 parent bebb209 commit 0fe0f92

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ You can find and compare releases at the [GitHub release page](https://github.co
99

1010
## Unreleased
1111

12+
## v6.45.0
13+
1214
### Added
1315

1416
- Cache query validation results https://github.com/nuwave/lighthouse/pull/2603

docs/6/performance/query-caching.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
In order to speed up GraphQL query parsing, the parsed queries can be stored in the Laravel cache.
44

5-
Query caching is enabled by default. You can define cache store and cache duration, see `config/lighthouse.php`.
5+
Query caching is enabled by default.
6+
You can define cache store and cache duration, see `config/lighthouse.php`.
67

78
Make sure you flush the query cache when you deploy an upgraded version of the `webonyx/graphql-php` dependency:
89

9-
php artisan cache:clear
10+
```sh
11+
php artisan cache:clear
12+
```
1013

1114
## Automated Persisted Queries
1215

@@ -17,11 +20,12 @@ APQ is enabled by default, but depends on query caching being enabled.
1720

1821
## Query validation caching
1922

20-
Lighthouse can cache the result of the query validation process as well. It only caches queries without errors.
23+
Lighthouse can cache the result of the query validation process as well.
24+
It only caches queries without errors.
2125
`QueryComplexity` validation can not be cached as it is dependent on the query, so it is always executed.
2226

23-
Query validation caching is disabled by default. You can enable it by setting `validation_cache.enable` to `true` in the
24-
configuration in `config/lighthouse.php`.
27+
Query validation caching is disabled by default.
28+
You can enable it by setting `validation_cache.enable` to `true` in `config/lighthouse.php`.
2529

2630
## Testing caveats
2731

docs/master/performance/query-caching.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
In order to speed up GraphQL query parsing, the parsed queries can be stored in the Laravel cache.
44

5-
Query caching is enabled by default. You can define cache store and cache duration, see `config/lighthouse.php`.
5+
Query caching is enabled by default.
6+
You can define cache store and cache duration, see `config/lighthouse.php`.
67

78
Make sure you flush the query cache when you deploy an upgraded version of the `webonyx/graphql-php` dependency:
89

9-
php artisan cache:clear
10+
```sh
11+
php artisan cache:clear
12+
```
1013

1114
## Automated Persisted Queries
1215

0 commit comments

Comments
 (0)