One of Symfony’s strengths is its caching mechanism (the files stored in “var/cache”), which enables framework components such as the dependency injection container and the router, as well as numerous bundles, to be ultra-fast in production. However, during development, regeneration of this cache can cause slowness and make the work of programmers tedious. Each time…
Tag: Symfony
HTTP compression in PHP (new Symfony AssetMapper feature)
Compressing HTTP responses can significantly improve the performance of your PHP and Symfony applications. But you must still navigate the jungle of standards and formats. In this presentation, we’ll discover how HTTP compression works, the different formats supported by modern web browsers (deflate, gzip, Brotli, and the brand-new Zstandard), and how to use them correctly….
How to debug Xdebug… or any other weird bug in PHP
What to do when the debugger has a bug? That’s the question I had to answer when my GitHub notifications went haywire because a new version of Xdebug was crashing FrankenPHP and therefore all the projects that use it. Together, we’ll retrace the epic story of this debugging debugger and discover a method that can…