Entering script /web/index.php fires twice on reload

In my system Yii2 i’ve got a dumping script (like file_put_contents…) in /web/ndex.php. And every time i reload the site main page this script fires twise (usualy with time difference 0-3 ms). That means - index.php fires twice. Is it right behavior for Yii or this is a bug?

Seems the issue was already solved at Russian forum: https://yiiframework.ru/forum/viewtopic.php?f=19&t=50330

It was about debug console of a browser doing extra request.

1 Like

Problem solved.