A
A
Alexey Romanov2016-01-12 23:14:06
PHP
Alexey Romanov, 2016-01-12 23:14:06

How to avoid the crooked construction of the page by the twig template engine?

Good afternoon, I met a very strange problem, I will be glad for any help.
I decided to transfer my site from slim 2nd version to slim 3rd (3.1) version, everything seems to be fine, but the page loading behavior is strange, and to be more precise, it loads it in 15 - 17 seconds. (until the browser aborts the request), well, after a while the html is inconsistent, drowning what should be at the end of the page code comes out at the top with headings (in the application there is a picture with an example).
25093ba83e774b7290bbc79dd2f22a06.png
At first I thought about twig , rolled back the old version, the problem remained, now I’m thinking if it’s not slim for hours.
Once again, I will be grateful to everyone =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2016-01-13
@VladimirAndreev

using a profiler or debugger, see what slows you down...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question