Giter VIP home page Giter VIP logo

Comments (5)

pgherveou avatar pgherveou commented on June 18, 2024

Have you considered

That's sound a bit harder to develop, but if that does not work for you, you can give it a try

from gulp-awspublish.

dennari avatar dennari commented on June 18, 2024

Well, the cache works really well in a local setup, but in a shared CI environment it's harder to set up. Parallelization would probably help to a degree, but I don't think its a solution that scales. Here's an outline to a solution that does scale: Getting Size and File Count of a 25 Million Object S3 Bucket. Is there some reason you wouldn't like to use the LIST API calls?

from gulp-awspublish.

pgherveou avatar pgherveou commented on June 18, 2024

I think the current solution works well for most of the use cases

Concerning your use case what I think what would be best, would be:

  • to add an additional method that let you populate the cache
  • to add an an option to by pass the header requests

So to solve your problem you could then

  • create a transform stream or call an async function that feed the cache
  • call publish

it could look like this

  var publisher = awspublish.create({ bucket: '...' });
  return gulp
     .src('./public/*.js')
     .pipe(publisher.populateCache())
     .pipe(publisher.publish())
     .pipe(awspublish.reporter());

What do you think?

from gulp-awspublish.

alexgorbatchev avatar alexgorbatchev commented on June 18, 2024

@dennari curious, were you able to find a suitable solution?

from gulp-awspublish.

cedricve avatar cedricve commented on June 18, 2024

Is there any news about the feature request?

from gulp-awspublish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.