Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored Aug 13, 2024
1 parent 772f567 commit e3b1096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ If you want to expire your links after a certain time, you can either set the ex

## Cleanup Old References

Zipper saves an encrypted instance of the Zipper class every time it returns a URL, which is later retrieved and decrypted when a user downloads a zip. These reference files are stored in `storage/zipper/{id}`.
Zipper saves an encrypted instance of the Zipper class every time it returns a URL. This class is later retrieved and decrypted when a user downloads a zip. These reference files are stored in `storage/zipper/{id}`.

With time, the number of saved reference files will grow. To control this, Zipper provides a scheduled command that will delete old reference files daily. Just make sure that your Scheduler is running.

Expand Down Expand Up @@ -94,7 +94,7 @@ $files = [
$zip = Zipper::make($files);

// Set an optional filename. This defaults to the timestamp when the object was created.
$zip->filename('obi-wan-kenobi')
$zip->filename('obi-wan-kenobi');

// Set an optional expiry time in minutes. This defaults to the expiry set in the config.
$zip->expiry(60);
Expand Down

0 comments on commit e3b1096

Please sign in to comment.