openresty / openresty/srcache-nginx-module

Can I use lua to run a post processing after a srcache_fetch?

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
486
Forks
101
Avg merge
1h 28m
Merged PRs (30d)
2

Description

I need to do a post processing on the HTML returned from the srcache_fetch.
But it looks like I cannot use a lua for it, nothing run's for me.
How can I do a post processing? In my case - removing or setting an html block?

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 with the srcache_fetch entry point and review how the module handles the returned HTML and Lua execution. Establish whether post-processing is currently supported, then document the supported configuration or the required scope for adding it. The issue is unanswered and does not name files or tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.