Кэш браузера заставляет браузер отображать необработанные запросы Inertia ⇐ Php
-
Anonymous
Кэш браузера заставляет браузер отображать необработанные запросы Inertia
i have a project which is made in laravel, vuejs, inertiajs. From a long time i am facing a issue, when i duplicate the current tab or press the back button of the browser, it throws a json:
{ "component": "Home/home", "props": { "errors": {}, "versions": { "php": "8.2.15", "laravel": "9.52.16" }, }, "url": "/", "version": "010511501a0906da7c86e726f481e01e" } and when i reload the page, it renders the component.
I have tried multiple things like:
i have added few meta tags to app.blade.php
but this didn't worked, then i made a middleware named "SetVaryAcceptHeader.php"
Источник: https://stackoverflow.com/questions/781 ... a-requests
i have a project which is made in laravel, vuejs, inertiajs. From a long time i am facing a issue, when i duplicate the current tab or press the back button of the browser, it throws a json:
{ "component": "Home/home", "props": { "errors": {}, "versions": { "php": "8.2.15", "laravel": "9.52.16" }, }, "url": "/", "version": "010511501a0906da7c86e726f481e01e" } and when i reload the page, it renders the component.
I have tried multiple things like:
i have added few meta tags to app.blade.php
but this didn't worked, then i made a middleware named "SetVaryAcceptHeader.php"
Источник: https://stackoverflow.com/questions/781 ... a-requests
Мобильная версия