Skip to content

Commit

Permalink
add security note
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk committed Feb 8, 2017
1 parent 3cd5cea commit 408cf96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ To reduce storage overhead and speed up expiration time-checks, the file modific

Please refer to the [PSR-16 spec](https://packagist.org/packages/psr/simple-cache) for the API description.

### Security

In a production setting, consider specifying appropriate `$dir_mode` and `$file_mode` constructor-arguments for
your hosting environment - the defaults are a typical choice, but you may be able to tighten permissions on your
system, if needed.

### Garbage Collection

Because this is a file-based cache, you do need to think about garbage-collection as it relates to your use-case.
Expand Down

0 comments on commit 408cf96

Please sign in to comment.