You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my high traffic app the mix-manifest.json is about 30.000 bytes big and read+parsed on each request.
Is it possible to use caching here?
Or would it even be possible to compile it to an PHP array which is then cachable by OPcache?
The text was updated successfully, but these errors were encountered:
marcelgleis
changed the title
mix-manifest.json should be cached or even better compiled
mix-manifest.json should be cached or (even better) compiled
Jul 16, 2023
Even the latest code of
Illuminate/Foundation/Mix.php
has this code in the__invoke
function:$manifests[$manifestPath] = json_decode(file_get_contents($manifestPath), true);
see https://github.com/laravel/framework/blob/10.x/src/Illuminate/Foundation/Mix.php
In my high traffic app the mix-manifest.json is about 30.000 bytes big and read+parsed on each request.
The text was updated successfully, but these errors were encountered: