A
A
Andrey2017-03-05 14:14:15
PHP
Andrey, 2017-03-05 14:14:15

Why such a difference in server response speed?

Good day. The problem is this. There is an online store on prestashop, when you click on a link like example.com, it redirects to expample.com/index.php as the main page of the site.
example.com server response time around 100ms expample.com/index.php
server response time 500-800ms
What could be the problem? Everything lies on one server (1GHz, 1GB) nginx+php-fpm everything is controlled by VestaCP.
As I understand it, you need to dig towards php?
283110e232ca45f8b03ffdbee4efaada.png6c7b1b772e6842c295dde419cc59787e.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2017-03-05
@mitrm

Because here example.com is just a redirect, and here expample.com/index.php is rendering the page

P
Puma Thailand, 2017-03-05
@opium

Because it costs nothing to give redirects, but it costs to generate a page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question