Giter Site home page Giter Site logo

Bundle JS files about providence HOT 4 CLOSED

collectiveaccess avatar collectiveaccess commented on July 28, 2024
Bundle JS files

from providence.

Comments (4)

stefankeidel avatar stefankeidel commented on July 28, 2024

The javascript.conf is now called assets.conf and is still there :-)

I agree that it's a lot, I'm not sure if it's a giant problem though. Once these files have been loaded once, the web server responds with a 304 on every one of the asset requests and the browser loads it from cache. The only one that goes out with actual data is the page itself.

Any potential feature pull requests should be based off develop. As far as the actual implementation goes, maybe Seth can comment on that.

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

I'd love to add bundling and minification. The assets.conf (formerly javascript.conf) file did not start out quite so large and has just grown and grown. There are a number of js libraries referenced in it that are no longer even used (or loaded), and the time is ripe for a cleanup. Any changes should be done in the develop branch though.

If you want to take a shot at working on this we'd welcome you. If you just want it fixed then create a JIRA please. Thanks!

from providence.

kehh avatar kehh commented on July 28, 2024

OK this got inadvertantly closed by me cherry-picking a commit from our fork (https://github.com/wamuseum/providence. The commit above (8eb9197) doesn't relate to this current issue but wamuseum#189

from providence.

stefankeidel avatar stefankeidel commented on July 28, 2024

I worked this a little bit in the https://github.com/collectiveaccess/providence/tree/dev/reorganizeAssets branch a while back. I should revive that code at some point :-(

from providence.

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.