nervjs / nerv-website Goto Github PK
View Code? Open in Web Editor NEWThe landing page of Nerv
Home Page: https://nerv.aotu.io
The landing page of Nerv
Home Page: https://nerv.aotu.io
Would be awesome to have benchmarks VS https://infernojs.org/
网站在IE8下打不开哦:
在IE8下查看不到具体的报错内容,只显示了:
script error:
base.dll.js
代码:0
Unfortunately https://nerv.aotu.io/ loads very slow on my machine (i5 CPU, 20Bb RAM, SSD drive, Google Fiber internet in Kansas City, MO, USA, which is very fast). I have visited your website 7 times the past day in 4 browsers, and, always the first load is slow.
Most other websites, & all web developer sites load much faster. I did a test on a web loading testing platform:
https://www.webpagetest.org/result/180112_AW_4e2ad73a0385a06698d7d674bbda92ef/
Most tests are near 100% which is good, but 7 seconds is slow for a minimum website.
The network graph in Chrome DevTools indicate the index.js
is too slow to load:
I have not read your code to see what is slowing down your site, but looking at this test:
https://builtwith.com/?https%3a%2f%2fnerv.aotu.io%2f
indicate that your CDN is Cachefly . Perhaps they are causing the slowdown; live GZip re-compression for every request maybe?
I would switch to CloudFlare; they have 119 POPs (including inside China) & are usually the fastest.
(Note: I volunteer for jsDelivr, which runs cdnperf.com and uses CloudFlare).
Also, allowing all the other website assets to load while the index.js
is loading will help. It is best practice to 'server side render' everything you can, so you do not need index.js
to show most of the website.
I hope the webiste will be faster, so more people will learn of your project!
通过 ath2 s 编译此项目,提示 Compile failed! 错误信息如下:
./node_modules/_react-intl@2.4.0@react-intl/lib/index.es.js
Module not found: Can't resolve 'prop-types' in '**\nerv-website\node_modules_react-intl@2.4.0@react-intl\lib'
my website (http://gssr.info/) loads so slowly. it is hosted on github pages. Any ideas how I can improve this?
Thanks!
@tomByrer I have split the index.js
to multiple files and lazyload the files,maybe faster now.Can you try it again?
Thank you again!
Originally posted by @luckyadam in #5 (comment)
这个代码down下来好像在ie8下面还是有兼容性问题,提示的是Objecy.keys 方法不支持
具体错误函数如下:
Object.keys().forEach(function(e){P.Properties[e]=0,[e]&&(P.DOMAttributeNames[e]=_[e])})
有办法能解决么,我做后端的,对前端不是很了解,请指教.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.