cloudflare / cloudflare/lua-upstream-cache-nginx-module

where to find http_cache module

Open
#4 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
124
Forks
40
PR merge metrics
No merged PRs in 30d

Description

when using lua-upstream-cache-nginx-module, it reports like this.

2015/03/04 16:11:34 F[ngx_http_lua_headerfilterby.c] L[134] f[ngx_http_lua_header_filter_by_chunk] [error] 12980#0: _3 failed to run header_filter_by_lua_: /home/sshd/nginx/lua/hdrfilter.lua:51: module 'http_cache' not found:

it seems that http_cache is needed but can not found.

Does anybody meet same question?

Contributor guide

Open the contributing guide

Research direction

Start with the reported hdrfilter.lua line 51 and the header_filter_by_lua_ error, then inspect how lua-upstream-cache-nginx-module exposes its Lua API and how the Nginx module is installed. Done means determining why http_cache cannot be found and documenting the required setup or confirming a module defect.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.