
Quote from noyzen on January 8, 2022, 11:55 amHello everyone,
I made a simple web application with VNweb. and my host keep blocking my IP for reaching http requests per second.
Here is server log:
[08/Jan/2022:00:13:17 +0330] "GET /host/ HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/bootstrap.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/nzAnimate.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/neoapp-ui.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/persianfont.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/style.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/jquery.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-touch.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-route.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-animate.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-sanitize.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/bootstrap.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/neoapp.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/neoapp-ui.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/NoSleep.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/main.js HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/js/pwaupdate1.js HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/Vazir-Bold.woff HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/Vazir.woff HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/glyphicons-halflings-regular.woff2 HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/img/wolfa256.png HTTP/2.0"It shows that my app load a lot of files, mostly js in 1 sec at loding...
so is there any way to combine all this js and css in standard way whithout breaking app?
Thanks.
Hello everyone,
I made a simple web application with VNweb. and my host keep blocking my IP for reaching http requests per second.
Here is server log:
[08/Jan/2022:00:13:17 +0330] "GET /host/ HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/bootstrap.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/nzAnimate.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/neoapp-ui.min.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/persianfont.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/css/style.css HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/jquery.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-touch.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-route.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-animate.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/angular-sanitize.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/bootstrap.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/neoapp.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/neoapp-ui.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/NoSleep.min.js HTTP/2.0" [08/Jan/2022:00:13:17 +0330] "GET /host/js/main.js HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/js/pwaupdate1.js HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/Vazir-Bold.woff HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/Vazir.woff HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/fonts/glyphicons-halflings-regular.woff2 HTTP/2.0" [08/Jan/2022:00:13:43 +0330] "GET /host/img/wolfa256.png HTTP/2.0"
It shows that my app load a lot of files, mostly js in 1 sec at loding...
so is there any way to combine all this js and css in standard way whithout breaking app?
Thanks.

Quote from luishp on January 8, 2022, 12:36 pm@noyzen are you loading those files from a index.html file hosted on the same server?
VisualNEO Web apps file loading requirements are minimal.
@noyzen are you loading those files from a index.html file hosted on the same server?
VisualNEO Web apps file loading requirements are minimal.

Quote from noyzen on January 8, 2022, 1:03 pmYes, I just compile app and put all files on server.
Number of loaded files are too much, that count as http requests and my cheap noob hosting has a limit of 20-30 requests per second :(
Yes, I just compile app and put all files on server.
Number of loaded files are too much, that count as http requests and my cheap noob hosting has a limit of 20-30 requests per second :(

Quote from luishp on January 8, 2022, 1:24 pm@noyzen I've never seen such a thing. Nor even in the 90's.
Normally those limits are for external request never for internal ones.
Even the simplest site can easily load more than 30 resources.
@noyzen I've never seen such a thing. Nor even in the 90's.
Normally those limits are for external request never for internal ones.
Even the simplest site can easily load more than 30 resources.

Quote from noyzen on January 8, 2022, 3:33 pmThats true, i installed app on other hosting with a lot more requests and it works smooth without problem.
But still if we combine all javascript file and css files it's good for loading time and seo and works on poor hosts.
Thats true, i installed app on other hosting with a lot more requests and it works smooth without problem.
But still if we combine all javascript file and css files it's good for loading time and seo and works on poor hosts.