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

Use ElementTagPostProcessor to handle image replacement #15

Merged

Conversation

JohnNiang
Copy link
Contributor

@JohnNiang JohnNiang commented Sep 18, 2024

This PR uses ElementTagPostProcessor to handle image replacement instead of resolving whole HTML content before responding. Use this method can reduce memory consumption.

BTY, the processor was introduced in halo-dev/halo#6670. Please wait for halo-dev/halo#6670 to be merged before merging the current PR.

Fixes #17

build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
@JohnNiang JohnNiang force-pushed the refactor/use-element-tag-processor branch from 7f5dfa5 to d034f65 Compare September 19, 2024 02:23
@JohnNiang JohnNiang force-pushed the refactor/use-element-tag-processor branch from d034f65 to 4e61191 Compare September 19, 2024 10:08
@JohnNiang JohnNiang changed the title WIP: Use ElementTagPostProcessor to handle image replacement Use ElementTagPostProcessor to handle image replacement Oct 14, 2024
@ruibaby ruibaby merged commit fe96fdc into webp-sh:master Oct 14, 2024
1 check passed
@JohnNiang JohnNiang deleted the refactor/use-element-tag-processor branch October 14, 2024 07:51
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

Successfully merging this pull request may close these issues.

halo最新版本没有生效
2 participants