SVR.JS now with the cache mod!

SVR.JS now with the cache mod!

Published on: December 19, 2024

SVR.JS - a web server running on Node.JS now has a mod for caching server responses - SVR.JS Cache mod. This mod is a simple in-memory per-worker cache that can be controlled with “Cache-Control” and “Vary” headers.

Blog Image

During the development of the cache mod, we have found out that SVR.JS with the cache mod and cache headers set is around 1.9x faster with static file serving than SVR.JS without the cache.

You can read the notes for this mod in the SVR.JS documentation, or read the change log, or download the mod.