Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: parallel processing of esi tags #12

Open
p0358 opened this issue Jan 27, 2024 · 1 comment
Open

Feature request: parallel processing of esi tags #12

p0358 opened this issue Jan 27, 2024 · 1 comment

Comments

@p0358
Copy link

p0358 commented Jan 27, 2024

If I'm reading the code correctly, right now all the esi tags are parsed and processed sequentially. This means that if there are 5 esi:includes each taking 50 ms, it'd add up to 250 ms instead of potentially only taking 50 ms if they were all requested at once.

A remedy to this would be to first parse the input, then process all found tags all at once, and only then insert the results in tags' place in the body to be returned.

@darkweak
Copy link
Owner

darkweak commented Feb 6, 2024

@p0358 I'm starting to work on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants