webapp hosted on ubuntu server works really slow
I’m hosting my app on Ubuntu 14.04 server and what bothers me is that it loads really slow. http://126.96.36.199/ is the link to my app as I don’t have domain for it yet. Demo preview isn’t impletented yet (also it’s not going to use database so testing with it wouldn’t give any usefull information), so feel free to login as:
Login: test Password: test1234. After you login, at first it looks like angular isn’t loaded properly and is displayed as html, after some time it disappears and then it finally shows properly (last time I checked it took it about 3 minutes to load everything). I’m using sqlite and from what I know it’s designed to be used locally, but I thought that since it’s just a showcase project it will be enough. While being logged in, it’s possible to use the api http://188.8.131.52/api/cards that will return existing cards as json, which usually is instant.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.