openresty / openresty/lua-resty-core

Is it possible to restore 'lua_load_resty_core'?

Open
#492 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
853
Forks
286
Avg merge
35m
Merged PRs (30d)
1

Description

'lua_load_resty_core' directive is deprecated in commit
https://github.com/openresty/lua-nginx-module/commit/60736e686ac5ca5af9a5bf118cb9bd4a9126cefc
so 'resty.core' is now mandatorily loaded.

My question is it possible to restore this directive so we can disable the load of 'resty.core'? The use case is that we want to use lua only for some simple purpose, load openresty is too heavy. Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing commit 60736e686ac5ca5af9a5bf118cb9bd4a9126cefc and the current handling of the lua_load_resty_core directive. Determine whether an opt-out from mandatory resty.core loading is feasible for simple Lua use cases; done means the requested directive behavior is restored or its incompatibility is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.