PHP Version
/
Shopware Version
6.6
Affected area / extension
Platform(Default)
Expected behaviour
On a missing media file in media or themes folder, shopware should not be instancieted at all
Actual behaviour
At the moment, for every request resulting in a 404 from the web server, the Shopware index.php is called by .htaccess or nginx configuration.
This can create a negative performance impact, when clients try to access non-existing files like missing images or ico files.
For performance reasons, I suggest adding an option, to remove the media fallback completely ( in the installer for example )
How to reproduce
call a non existent media file ( you'll see a 404 Shopware page )
PHP Version
/
Shopware Version
6.6
Affected area / extension
Platform(Default)
Expected behaviour
On a missing media file in media or themes folder, shopware should not be instancieted at all
Actual behaviour
At the moment, for every request resulting in a 404 from the web server, the Shopware index.php is called by .htaccess or nginx configuration.
This can create a negative performance impact, when clients try to access non-existing files like missing images or ico files.
For performance reasons, I suggest adding an option, to remove the media fallback completely ( in the installer for example )
How to reproduce
call a non existent media file ( you'll see a 404 Shopware page )