Skip to content

Commit

Permalink
Merge pull request #392 from n8-dev/patch-2
Browse files Browse the repository at this point in the history
Update a example code comment
  • Loading branch information
GuySartorelli committed Nov 8, 2023
2 parents b08dd7e + 0033a97 commit 6e7ba41
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 6e7ba41

Please sign in to comment.