Skip to content

Magento 2 Luma loads “loader-1.gif” on every request: How to remove?

On every request, the file at /lib/web/images/loader-1.gif is being loaded from the following path:

static/version1747897163/frontend/<Vendor>/<theme>/<locale>/images/loader-1.gif

We do not need this file in our frontend.

Its not present in the HTML, so it must be loaded from some CSS or JS file. Unfortunately I can not find the exact location where the file is being loaded, so I am unable to stop this file from loading and wasting bandwidth and an extra request on every page load.