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

Prefilter/mapping for webapp resources #791

Open
vendamere opened this issue Jun 22, 2023 · 1 comment
Open

Prefilter/mapping for webapp resources #791

vendamere opened this issue Jun 22, 2023 · 1 comment
Assignees
Milestone

Comments

@vendamere
Copy link

Is there a method for pre-filtering webapp resources prior to putting them into the cache?
I believe the current _webappPrepare method is grabbing everything and the only way to remove them is in the webappPostProcess. Dealing with them in post process is a bit expensive when they could be filtered ahead of time.

Perhaps adding something similar to mappings for the webapp resources would be a good way to address it.

@earldouglas
Copy link
Owner

Thanks for the suggestion! You're right: webappPostProcess is the way to solve this currently.

I am working on a design for a more robust approach to gathering and preparing webapp resources that would support this use case (as well as eliminate the need for webappPostProcess). I will update this issue with more info once I have a draft ready.

@earldouglas earldouglas self-assigned this Jun 24, 2023
@earldouglas earldouglas added this to the v5 milestone Aug 5, 2023
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