mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-06-13 23:36:45 +03:00
Updated Gateway to Remote Object Storage (markdown)
@@ -56,9 +56,12 @@ You may need to create a cronjob to run it periodically.
|
||||
```
|
||||
# in "weed shell"
|
||||
|
||||
# cache all pdf files in all mounted buckets
|
||||
> remote.cache -include=*.pdf
|
||||
|
||||
# cache all pdf files in a bucket
|
||||
> remote.cache -dir=/buckets/some-bucket -include=*.pdf
|
||||
|
||||
# uncache files in a bucket that is older than 1 hour and larger than 10KB
|
||||
> remote.uncache -dir=/buckets/some-b353 -minAge=3600 -minSize=10240
|
||||
# uncache all files older than 1 hour and larger than 10KB
|
||||
> remote.uncache -minAge=3600 -minSize=10240
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user