Varnish has unveiled Edgestash, which is currently in beta on Varnish Plus only. It’s an ambitious solution to increase web speeds, both on mobile and in general. While most of a modern website’s content is assembled in the browser, Varnish takes that page assembly and performs its using the the bits and pieces already stored in the cache, for instance, cobbling together a web page using JSON and content from other sources.
Additionally, Edgestash compiles both the templates and affiliated JSON content into a streamlined byte code and stores it into cache, ideally in under a millisecond. This means that when time comes for page assembly, it simply needs to execute the byte code, reducing assembly time to under a millisecond. Edgestash only needs to compile once, meaning every use of the same template or JSON is optimized thereafter.
Finally, Edgestash is built on Varnish Cache and is compatible with VCL, allowing for custom logic execution required for a website. Because Varnish Cache is located at the edge of customers’ networks, latencies are reduced, leading to faster page response and load times and allowing for page assembly to occur on IP backbones. This configuration also allows the logic that is used to compose pages to be migrated to the edge.