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
bug #52100 [AssetMapper] Disable profiler when the "dev server" respond (smnandre)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[AssetMapper] Disable profiler when the "dev server" respond
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| License | MIT
In debug mode, the "dev server" send assets as if they were compiled in the public directory.
To improve the DX and not "pollute" too much the profiler (see capture below), this PR does two things :
* disable the profiler for those requests
* stop the request & response event propagation, to speed things a bit
<img width="800" alt="Capture d’écran 2023-10-17 à 10 57 44" src="https://github.com/symfony/symfony/assets/1359581/98eff6c5-2da4-46e3-9e7e-44b34ec38eef">
Commits
-------
e1174ac9dd [AssetMapper] Disable profiler when the "dev server" respond
0 commit comments