A
A
Antonov Denis2015-10-01 18:17:11
PHP
Antonov Denis, 2015-10-01 18:17:11

Why the big difference in response time from the server?

Bought hosting from godaddy.com.
Pages with php scripts take a very long time to load. I create two pages:
1. 'page.html', with text: "Hello"
2. 'page.php', with text: <?php echo 'Hello'; ?>

So here is the loading speed of the first page: 350ms - 500ms
And the second one is loaded: 800ms - 1500ms

Why such a difference?

UPD: Can I do something in this situation or do I need to contact support?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
I
Igor Vorotnev, 2015-10-04
@megagoblin

For such an html page, even 350ms is VERY slow. Should be 80-120ms. On the other hand, this is Shared. If you want fast - take a VPS and learn how to admin.

E
EvgeniyKonstantinov, 2015-10-01
@EvgeniyKonstantinov

Because you are using echo, and it is correct to use print!

Let the Holy War begin!

S
Super User, 2015-10-01
@sergeystepanov1988

The hosting is not optimized and/or it is overloaded with requests.

A
Alexey Lebedev, 2015-10-01
@swanrnd

Broken PHP.
Weak machine, fig server settings.

I
Ivanq, 2015-10-01
@Ivanq

PHP handler running for a long time

Z
zooks, 2015-10-02
@zooks

Because it is not necessary to take from Goudyadi. Are there few cases when domains were simply taken away?
Then we will take hosting - to lose all the data. People love to step on the same rake.
PHP certainly renders slower than bare HTML, but your hosting is really slow.
I recommend the VPS listed in my profile.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question