Skip to content

Instantly share code, notes, and snippets.

View ChristianGfK's full-sized avatar

Christian Wissel ChristianGfK

View GitHub Profile
@ChristianGfK
ChristianGfK / chrome_dev.reg
Created February 12, 2019 13:53
Chrome default browser registry settings
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe]
@="C:\\Program Files (x86)\\Google\\Chrome Dev\\Application\\chrome.exe"
"Path"="C:\\Program Files (x86)\\Google\\Chrome Dev\\Application"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Chrome]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Chrome\.exe]
@ChristianGfK
ChristianGfK / README.md
Created June 8, 2016 13:50 — forked from magnetikonline/README.md
Setting Nginx FastCGI response buffer sizes.

Nginx FastCGI response buffer sizes

By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk. This process is also explained at the Nginx ngx_http_fastcgi_module page document page.

Since disk is slow and memory is fast the aim is to get as many FastCGI responses passing through memory only. On the flip side we don't want to set an excessively large buffer as they are created and sized on a per request basis (i.e. it's not shared memory).

The related Nginx options are: