36 Posts In Total

2020 Dec

Photo by Yichun Zhang

Precompile Lua Modules into LuaJIT Bytecode to Speedup OpenResty Startup

This tutorial demonstrates how to pre-compile Lua modules into LuaJIT bytecode. This can help reduce the startup time of ... Read More »

Photo by Andrik Langfield

Timing Lua Code Correctly in OpenResty

This tutorial demonstrates both the right ways and wrong ways of benchmarking user Lua code in OpenResty. 123cd ~mkdir ti... Read More »

Photo by Cristina Gottardi

Lookup OpenResty Documentation on Terminal with restydoc

This tutorial demonstrates how to use OpenResty’s restydoc command-line utility to quickly lookup OpenResty documentation... Read More »

Photo by Gautam Ganguly

Share Data Across Requests Served by OpenResty

This tutorial will demonstrate how to share data across different HTTP requests served by an OpenResty application. 12345... Read More »