pgherveou / gulp-awspublish

gulp plugin to publish files to amazon s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is cacheOptions?

dagumak opened this issue · comments

I don't understand why do I need to provide an option for this when creating a publisher.

The cacheOptions object allows you to define the location of the cached hash digests. By default, they will be saved in your projects root folder in a hidden file called '.awspublish-' + 'name-of-your-bucket'.

Why do I need this? What does it do? Does S3 require me to have this? I don't understand why I need this extra file in my repository.

Nope its just part of the library, Its a local file where we store the hash digest of each file you pushed to s3 to avoid making a call to s3 api next time you run your gulp task

Sent from my iPhone

On Jul 18, 2016, at 2:27 AM, Douglas Mak notifications@github.com wrote:

I don't understand why do I need to provide an option for this when creating a publisher.

The cacheOptions object allows you to define the location of the cached hash digests. By default, they will be saved in your projects root folder in a hidden file called '.awspublish-' + 'name-of-your-bucket'.
Why do I need this? What does it do? Does S3 require me to have this?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.