this post was submitted on 23 Dec 2024
1 points (100.0% liked)

PHP: The latest news in the PHP world

5 readers
1 users here now

Share and discover the latest news about the PHP ecosystem and its community. Please respect r/php's rules.

founded 1 year ago
MODERATORS
 
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?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here