S
S
severniyvolk2014-07-24 14:53:54
PHP
severniyvolk, 2014-07-24 14:53:54

What loads the server the most?

The site includes CSS, PHP, JavaScript. When accessed, the load seems to be 90%. And yet, when two pages refer to the same CSS table, does it load every time or are the styles hanging somewhere?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2014-07-24
@DmitriyEntelis

Loading what? Processor?
Returning css and javascript does not load the processor in any way.
PHP hypothetically can (if you have mega complex calculations or crooked code) and SQL of course (again, in the case of crooked code or huge tables)

I
IceJOKER, 2014-07-24
@IceJOKER

CSS / JS / HTML - they work on the side of the user's browser (client languages), your server simply gives them away and that's all, they cannot load the server in any way if the chi is not 100500 with 100500 mb.
php - as written above,
mysql can - it usually loads the server, depending on how queries are made and indexes are placed.

O
Optimus, 2014-07-24
Pyan @marrk2

When there are many requests for statics, the disk subsystem may not be able to cope.
There may be too many simultaneous queries to the database (this is the most common).
Maybe there is not enough RAM and the server climbs into the swap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question