Comments (6)
Another +1 for this, especially as a development server.
When you load Angular2 via SystemJS, you have quite a large number of requests depending on your import tree.
This is not the production experience, but it kinda slows down the development experience (sample).
HTTP/2 might be a good solution for this development-only problem.
from lite-server.
Thanks all. Well, let me lay out my arguments for you here first -- if
they're totally unconvincing it may not be worth the effort.
- lite-server is part of the "future, now" Javascript ecosystem. It's
advertised for use developing with JSPM and Angular 2, for instance. HTTP/2
is the future of communication on the Web, so it makes sense to get people
developing on that now. - I have some very, very preliminary data showing that in development
cases where hundreds of objects need to be loaded from the server (common
enough with JSPM and even modestly sized projects these days), HTTP/2 can
cut down time to first load for developers considerably. - It's a little-ish issue, but I think it's also important to get
developers saying the mantra "SSL only," starting from their development
instances. I've already developed a tool that de-complicates the process so
you don't have to worry about bright red SSL warnings more than, say, once
a month. It's true that you could do the same thing against HTTP/1.1 also,
but packaging it with a move to HTTP/2 makes it easier for developers to
swallow -- honey on the rim of the medicine cup, as it were.
If this is at least a colorable argument to you, let me know and I'll take
a pass at it.
All best
Harry
On Wed, Feb 3, 2016 at 5:53 AM John Papa [email protected] wrote:
I agree with Chris, but curiosity has got me ... I'd like to see what you
have in mind just to satisfy that :)—
Reply to this email directly or view it on GitHub
#15 (comment)
.
from lite-server.
As a simple development server I don't feel like this has much value. Is there a particular use-case for development that you have that requires HTTP/2?
Running lite-server
in production is absolutely not recommended. :)
Another quirk is that this project is a simple wrapper around BrowserSync's server feature. If it can't do HTTP/2, then I assume we'd have large difficulty trying to work that in via lite-server
. But if Browsersync ever does include that feature, it could be easily enabled through lite-server's overrides.
from lite-server.
I agree with Chris, but curiosity has got me ... I'd like to see what you have in mind just to satisfy that :)
from lite-server.
+1
from lite-server.
+1
from lite-server.
Related Issues (20)
- Installation fails E429 too many Requests HOT 1
- Not listening on this port
- npm audit found vulnerabilities HOT 1
- npm is not started started script missing HOT 1
- i m trying to run npm start command but it is giving following error
- Problem with npm install HOT 2
- unable to start lite-server on wsl2 HOT 1
- Error using lite-server for create-react-app HOT 3
- The package needs to update axios to solve high severity vulnerability HOT 1
- Disable SPA handling? HOT 1
- lite-server doesn't trigger or reload the page when I save the page after adding something .
- CORS 404 OPTIONS HOT 2
- How to get Directory Listing working?
- Trying to start an html website using NPM and Lite-server HOT 2
- lite-server not installing using (npm install lite-server -g) HOT 1
- Lite-server dependecies are vulnerable (The Async package have a vulnerability)
- lite-server generating three Uncaught (in promise) errors after each reload
- Lite server disables CDN links
- Static files and api proxy HOT 1
- npm & github recommend not using: "All versions of package lite-server are vulnerable to Denial of Service"
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 lite-server.