V
V
Vasily G.2015-10-03 12:35:48
caching
Vasily G., 2015-10-03 12:35:48

Why does the server give css, js files for a long time?

Hello. The problem is that when loading the site, css, js files are loaded for a very long time. All files are compressed and weigh 50-200 KB.
Sometimes files weighing 100 KB are loaded in more than 3 seconds
Website on a VPS with KVM virtualization.
The interesting thing is that if you connect libraries (jQuey, Bootstrap) via cdn, then it loads ten times faster.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-10-03
@opium

because you set up the server badly and did not set up the user side static caching

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question