mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Gateway to Remote Object Storage (markdown)
parent
e8a63f0429
commit
c8da111eab
|
@ -56,9 +56,12 @@ You may need to create a cronjob to run it periodically.
|
||||||
```
|
```
|
||||||
# in "weed shell"
|
# in "weed shell"
|
||||||
|
|
||||||
|
# cache all pdf files in all mounted buckets
|
||||||
|
> remote.cache -include=*.pdf
|
||||||
|
|
||||||
# cache all pdf files in a bucket
|
# cache all pdf files in a bucket
|
||||||
> remote.cache -dir=/buckets/some-bucket -include=*.pdf
|
> remote.cache -dir=/buckets/some-bucket -include=*.pdf
|
||||||
|
|
||||||
# uncache files in a bucket that is older than 1 hour and larger than 10KB
|
# uncache all files older than 1 hour and larger than 10KB
|
||||||
> remote.uncache -dir=/buckets/some-b353 -minAge=3600 -minSize=10240
|
> remote.uncache -minAge=3600 -minSize=10240
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue