Web Server: Static Files

From Resin 4.0 Wiki

Revision as of 00:00, 29 February 2012 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Web-48.png

Sending static files quickly is an key feature of the Resin Web Server. While the dynamic content take more development time, all the small images, css files, and the javascript needs to arrive at the browser quickly to ensure a responsive site.

memory caching

Small static files are cached in memory, improving performance by avoiding the filesystem entirely. Small files like 1-pixel images can be served with little delay.

sendfile()

Resin's static file serving is fast and efficient with the operating system sendfile() support. Large files are sent directly from the file system to the HTTP socket by the operating system, minimizing Java overhead.

Personal tools
TOOLBOX
LANGUAGES