Git Product home page Git Product logo

Comments (8)

nelsonic avatar nelsonic commented on July 23, 2024 4

We sourced an image from CS: https://s3-eu-west-1.amazonaws.com/club-soda-prod/654a00a8-2624-4977-ae25-75ebf6bd9346
image

It's 743kb on disk. 🙄

We had to add upload the image into the /img directory for the UI:
https://s3.amazonaws.com/serverlessimagehandler-demowebsitebucket-1wrvoa49u9peo/serverless-image-handler-ui/img/654a00a8-2624-4977-ae25-75ebf6bd9346.jpg

We loaded it into the image optimisation UI:
https://s3.amazonaws.com/serverlessimagehandler-demowebsitebucket-1wrvoa49u9peo/serverless-image-handler-ui/index.html
image

https://6ajf1r4iei.execute-api.us-east-1.amazonaws.com/image/200x/smart/serverless-image-handler-ui/img/654a00a8-2624-4977-ae25-75ebf6bd9346.jpg
The optimised image is 18kb
image
18/743=2.4% the size of the original or 97.6% smaller!!

This is an insane improvement and when applied to all Drink images on CS https://www.clubsodaguide.com/search/drinks
it will make the page load several orders of magnitude faster on mobile!

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024 1

They've improved the on-boarding ...
image

from imgup.

iteles avatar iteles commented on July 23, 2024 1

Woah, that's WAY more than I thought it would be!

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024

This is probably the approach we are going to follow:
https://aws.amazon.com/solutions/serverless-image-handler/

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024

@RobStallion this morning I'm starting with this:
https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/welcome.html
It looks like it will get us more than half way to our goal.

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024

Signing up for a Brand New AWS account to take advantage of the 12 months of free tier. #NoBrainer

from imgup.

nelsonic avatar nelsonic commented on July 23, 2024

Potential Elixir implementation: https://github.com/stavro/arc

from imgup.

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.