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

Each search invokes a duplicate request #145

Open
kowhi opened this issue Dec 23, 2024 · 2 comments
Open

Each search invokes a duplicate request #145

kowhi opened this issue Dec 23, 2024 · 2 comments

Comments

@kowhi
Copy link

kowhi commented Dec 23, 2024

${host}/search?query=xxx&_rsc=xxxx
This interface always seems to return the same data, is this used to render the page? Is it possible to cache? When I search, the page sometimes stops, waiting for the interface to return data. Then the /api/search interface is actually called

@kowhi
Copy link
Author

kowhi commented Dec 23, 2024

This feature looks like caching the result of /api/search. There is also a /search request before /api/search, such as getting some page layout files, and sometimes you need to wait for the /search interface to complete before requesting /api/search
image

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
@kowhi and others