GithubHelp home page GithubHelp logo

Comments (5)

ryantomaselli avatar ryantomaselli commented on August 26, 2024 1

I ended up creating a separate distribution for serving all files that aren't images.

from serverless-iiif.

mbklein avatar mbklein commented on August 26, 2024

If you use the CloudFront-enabled flavor, you can add additional origins and behaviors to the distribution it creates. I’ll have to give some thought to the best way to do that within the framework of a SAM deployment/CloudFormation stack, but you can play with the concept by making manual changes to the CloudFront distribution in the AWS console.

from serverless-iiif.

fitnycdigitalinitiatives avatar fitnycdigitalinitiatives commented on August 26, 2024

We have all our images commingled on the same bucket with resources of all media types, and only in cases where our digital repository identifies the file as an images does it access it specifically through the IIIF server—everything else (videos, audio, pdf) is just accessed directly through the s3 endpoint with a presigned URL. Curious, is there a value you're trying to gain by also having non-images pass through the IIIF server or is it more a convenience thing?

from serverless-iiif.

ryantomaselli avatar ryantomaselli commented on August 26, 2024

If you use the CloudFront-enabled flavor, you can add additional origins and behaviors to the distribution it creates. I’ll have to give some thought to the best way to do that within the framework of a SAM deployment/CloudFormation stack, but you can play with the concept by making manual changes to the CloudFront distribution in the AWS console.

Thanks @mbklein! I'll do some tinkering...that is a good pointer.

from serverless-iiif.

ryantomaselli avatar ryantomaselli commented on August 26, 2024

We have all our images commingled on the same bucket with resources of all media types, and only in cases where our digital repository identifies the file as an images does it access it specifically through the IIIF server—everything else (videos, audio, pdf) is just accessed directly through the s3 endpoint with a presigned URL. Curious, is there a value you're trying to gain by also having non-images pass through the IIIF server or is it more a convenience thing?

Thanks @fitnycdigitalinitiatives, It is more of a convenience thing at this point.

from serverless-iiif.

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.