Skip to content

Commit

Permalink
Merge branch '5.1' into 5
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 14, 2023
2 parents d989321 + 6e7ba41 commit a140076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/02_Developer_Guides/08_Performance/01_Caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ use SilverStripe\Core\Injector\Injector;
$cache = Injector::inst()->get(CacheInterface::class . '.myCache');
// remove the cache item
// set a cache item with an expiry
$cache->set('myCacheKey', 'myValue', 300); // cache for 300 seconds
```

Expand Down

0 comments on commit a140076

Please sign in to comment.