| |

VerySource

 Forgot password?
 Register
Search
View: 11|Reply: 8

What to do if the first visit is very slow

[Copy link]

2

Threads

9

Posts

9

Credits

Newbie

Rank: 1

Credits
9

 China

Post time: 2020-3-23 08:00:02
| Show all posts |Read mode
After the website is launched, the first visit is very slow, at least 10 seconds or more. Is there any way to improve the access speed, the debug has been set to flase, it is still the same, it should be within 3 faces.
Reply

Use magic Report

0

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

Post time: 2020-7-1 23:45:01
| Show all posts
this is normal phenomenon.
The assembly generated by .net needs to be loaded and compiled for the first run, and this time cannot be shortened.
For the first time, whose website will restart in a while?
Don't think too much.
Reply

Use magic Report

0

Threads

3

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

Post time: 2020-7-2 08:45:01
| Show all posts
The key is whether it will be slow in the future
Reply

Use magic Report

2

Threads

9

Posts

9

Credits

Newbie

Rank: 1

Credits
9

 China

 Author| Post time: 2020-7-2 14:30:01
| Show all posts
It will also happen after a period of time, such as the next day, if someone has been visiting
Reply

Use magic Report

0

Threads

4

Posts

3

Credits

Newbie

Rank: 1

Credits
3

 China

Post time: 2020-7-3 09:45:01
| Show all posts
After compiling, just visit it yourself.
Asp.net is like this!
The first visit is slow, the same reason as java!
After the first time it was fine. It's normal.
Everything is difficult at first, this will always be the first time. normal phenomenon!
Reply

Use magic Report

2

Threads

9

Posts

9

Credits

Newbie

Rank: 1

Credits
9

 China

 Author| Post time: 2020-7-3 11:45:01
| Show all posts
Then my page is slow to visit every half day or every other day
Reply

Use magic Report

0

Threads

50

Posts

17

Credits

Newbie

Rank: 1

Credits
17

 Great Britain

Post time: 2020-7-4 17:00:02
| Show all posts
Maybe database connection problem
Reply

Use magic Report

0

Threads

4

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

Post time: 2020-7-5 01:45:01
| Show all posts
.net was slower for the first time, but according to LZ, the server might be slow!
Reply

Use magic Report

2

Threads

9

Posts

9

Credits

Newbie

Rank: 1

Credits
9

 China

 Author| Post time: 2020-7-7 11:00:02
| Show all posts
I made a very low-level mistake yesterday, I hope that latecomers will not make this mistake
1: The code is not completely separated. A lot of code is written in the foreground. Novices must remember to separate the code when creating the document.
2: Only the website is generated and there is no point to publish, that is, it is not published as a DLL file. I directly copied the project file to the virtual directory. Although it can be used, it is not efficient.
3: The default interpreted language of .net2.0 is VB. As you can see in IIS, change it to your language in web.config. I use C#
Another one is that my domain name has been turned once, the speed is greatly discounted
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list