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

cache frontend application files #15148

Merged
merged 2 commits into from
Jun 1, 2021

Conversation

atomfrede
Copy link
Member

Caching is now working as expected. It really seems like a bug introduced when the app was directly compiled to /static instead of /static/app.

You can see the first requests load the files with correct caching headers while the reload serves everything from cache.

image

closes #15126


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

all relevant front files are generated with cache busting so we can cache them in production
for quite a long time.

closes jhipster#15126
…cResourcesWebConfiguration.java.ejs

Co-authored-by: Stefan Brunecker <33121464+sbrunecker@users.noreply.github.com>
@DanielFran DanielFran merged commit cea8174 into jhipster:main Jun 1, 2021
@atomfrede
Copy link
Member Author

@pascalgrimaud
Copy link
Member

@atomfrede : approved

@pascalgrimaud pascalgrimaud added this to the 7.1.0 milestone Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache configuration not working correctly
4 participants