mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Reword docs
This commit is contained in:
parent
8c56506a05
commit
5f23381143
@ -173,7 +173,7 @@ $gridField->getConfig()->removeComponentsByType(GridField_ActionMenu);
|
|||||||
```
|
```
|
||||||
### Versioned cache segmentation
|
### Versioned cache segmentation
|
||||||
|
|
||||||
The cache API now maintains separate cache pools for each versioned stage. This prevents users from caching draft data and then exposing it on the live stage.
|
`SilverStripe\Core\Cache\CacheFactory` now maintains separate cache pools for each versioned stage. This prevents developers from caching draft data and then accidentally exposing it on the live stage without potentially required authorisation checks. Unless you rely on caching across stages, you don't need to change your own code for this change to take effect. Note that cache keys will be internally rewritten, causing any existing cache items to become invalid when this change is deployed.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
// Before:
|
// Before:
|
||||||
|
Loading…
Reference in New Issue
Block a user