Giter VIP home page Giter VIP logo

Comments (2)

Trott avatar Trott commented on May 23, 2024

Still need to review some of the links above, but in the existing setup, the main culprit seems to be external JS loaded on the initial page of an app. Thing to do is probably get minimal HTML loaded with a progress spinner and then append the JS scripts to the DOM after the load event has fired.

from campuskit.

Trott avatar Trott commented on May 23, 2024

Ooof, I think the only way around this, short of one huge honkin' single page app (which is an option), is to make sure that the main menu for each subapp loads without the need for any JS. Shuttle, Directory, and News are especially problematic right now. The thing they have in common is a need to load external JS, but even when I remove that need (for Shuttle, anyway), it's still kind of slow. Could try inlining everything. But probably best to serve up a menu and load any JS after deviceready and/or load fires. This will mean that the apps are not SPAs but instead a front menu page that links to places inside a SPA.

Or just go for one huge honkin' SPA, at least for PhoneGap.

from campuskit.

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.