Tagged articles
header
13 articles · Page 1 of 1
This article analyzes nginx 1.31's newly open-sourced least_time load balancing, detailing its EMA-based algorithm, header vs last_byte semantics for streaming, and real-world tests showing 9x latency reduction on heterogeneous backends and 3x difference in streaming scenarios, plus adaptive behavior trade-offs.
EMAadaptiveheader
0 likes · 26 min read

This article provides a comprehensive guide to PHP's header() function, covering its syntax, parameters, and practical code examples for page redirection, setting HTTP response headers, status codes, cache control, and file downloads, helping developers use it effectively.
HTTPPHPRedirect
0 likes · 4 min read

This tutorial explains how to programmatically add headers and footers—including text, images, page numbers, and separator lines—to every page of a PDF using Java and the free Spire.PDF library, with complete code examples and visual results.
PDFfooterheader
0 likes · 8 min read

This article provides a comprehensive guide to PHP's header() function, covering its syntax, parameters, and five common scenarios—including page redirects, setting response headers, status codes, cache control, and file downloads—along with clear code examples and best‑practice tips.
Cache ControlPHPheader
0 likes · 5 min read

This article explains several practical techniques—including echo, json_encode, HTTP headers, and external script files—for transferring data from PHP to JavaScript, helping developers choose the most suitable method based on data complexity and application requirements.
ECHOdata-passingheader
0 likes · 3 min read

This article explains the PHP header() function, its syntax, parameters, and common use cases such as page redirection, setting HTTP response headers, status codes, preventing caching, and enabling file downloads, with clear code examples for each scenario.
Cache ControlHTTPRedirect
0 likes · 4 min read

This article explains the PHP header() function, covering its syntax, parameter details, and typical scenarios such as page redirection, setting HTTP response headers, status codes, cache control, and file downloads, with clear code examples for each case.
BackendHTTPPHP
0 likes · 4 min read


JD TechOct 27, 2023 · Backend Development
The article describes the design background, overall architecture, management backend, and header/footer client implementations (Nginx and Java) of JD's unified header/footer management system, explaining how it enables rapid, centralized updates of site-wide header and footer content across hundreds of services.
BackendJavaSSI
0 likes · 14 min read

This guide walks through the two most typical Nginx HTTP‑to‑HTTPS redirection setups—direct client access and proxy‑mediated access—showing why the simple 301 rule works in the first case, why it fails with an upstream proxy, and how to correctly use request headers and Nginx variables to achieve reliable redirects.
ProxyRedirectheader
0 likes · 6 min read

This article outlines seven practical applications of PHP’s header() function, including page redirection, content‑type declaration, HTTP status codes, timed redirects, cache control, authentication prompts, and file download handling, providing code examples for each use case.
BackendHTTPheader
0 likes · 2 min read

This article explains five different techniques for performing page redirects in PHP, including a one‑line header redirect, conditional redirects based on cookies, JavaScript‑based redirects, META refresh tags, and explicit HTTP header redirects with status codes.
Backendheadermeta refresh
0 likes · 2 min read

The article explains why Nginx silently discards request headers containing underscores, demonstrates the issue with a Spring Boot service and Postman, and shows how adding the 'underscores_in_headers on;' directive resolves the problem.
BackendDebuggingProxy
0 likes · 5 min read

This article documents a series of experiments that examine how Nginx's large_client_header_buffers and client_header_buffer_size directives interact with server and http contexts, revealing that the effective buffer size is determined by the merged value of the default server after configuration parsing.
headerlarge_client_header_buffersnginx
0 likes · 7 min read
