Comments (2)
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.
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)
- Invalid Code Point in minified Angular code
- Install Angular with Bower rather than distributing it with CampusKit
- LiveReload busted again
- Angular template inlining does not inline for PhoneGap HOT 1
- UCSF: remove couchdb dependency from API calls
- UCSF: Galaxy S4 native app support HOT 2
- generator-mobile HOT 1
- getting started - add grunt installation HOT 1
- UCSF: Shuttle GPS Interface Improvements HOT 1
- Automated CHANGELOG
- UCSF: rm maximum-scale=1 from viewport meta element
- PhoneGap: settings for Android Kit Kat compatibility
- yo campuskit fails HOT 5
- UCSF: Cache shuttle schedules for offline use
- UCSF: shuttle trip planner selection dark dark dark
- UCSF: Shuttle Yellow vs. Red
- UCSF: News improvements via API
- Exponential backoff instead of "try again" HOT 2
- Revise shuttle interfaces for exponential backoff
- UCSF: Revise libguides deep links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from campuskit.