The original post: /r/php by /u/VonFacington on 2024-12-22 17:46:23.
I have an app with Nginx directly serving static content and proxying PHP requests through to FrankenPHP. I recently realized that I was applying encode zstd br gzip
at the FrankenPHP (Caddyfile) level and gzip level 6 at the Nginx level. That seemed redundant, so I turned off the encoding at the FrankenPHP level, and that reduced the size of the payload transferred to the browser. Curious as to what kind of configurations those of you with a similar setup have done to optimize how Nginx and FrankenPHP work together?
You must log in or # to comment.