Git Product home page Git Product logo

punanimation-directory's Introduction

Run Keystone

# /
npm start

Environment variables:

COOKIE_SECRET=
MONGO_URL=
CLOUDINARY_URL=

Run Frontend code

# /public
npm start
# /public
npm run deploy
# /public
./update.sh

punanimation-directory's People

Contributors

murilopolese avatar

Watchers

James Cloos avatar Mamta Narang avatar

punanimation-directory's Issues

Optimize page loading

Currently the page hangs empty for almost a second before being displayed and then displays at once. Would be nice to speed up first print.

Build front end app

The app currently commits bower_component and doesn't build the app, making a lot of http requests. It would be nice to serve the built app instead.

Optimize gif loading

Problems

  • The coverImage (gif) is currently a link to an external page and eventually the requests get throttled and it gets slow.
  • The images are also very big and sums up to 30Mb of downloads.
  • When they are all loaded the page navigation gets heavy/slow

Solution

  • Upload images to Amazon S3 or Cloudinary
  • Resize and display resized gifs
  • Unload images that are not visible
  • Migrate from urls to wherever they will be hosted
    • Fetch urls from database
    • Save images on disk
    • Resize images
    • Upload to host provider
    • Update database with new urls
  • Update Keystone CMS to resize and upload to host provider

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.