Skip to content

Cache hashed assets forever in fullstack #3928

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

This PR adds a serve config json file that the CLI uses to tell the fullstack server what assets were hashed and should be cached forever. The JSON format was chosen so we can add fields to the file in the future without a breaking release.

A test was added to the fullstack playwright tests to assert the new cache behavior

Closes #3278

@ealmloff ealmloff added cli Related to the dioxus-cli program performance fullstack related to the fullstack crate labels Mar 29, 2025
@ealmloff ealmloff requested a review from a team as a code owner March 29, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the dioxus-cli program fullstack related to the fullstack crate performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web app resources are not cached
1 participant