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 caching response wrapper in case views render pre-emptively #52

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

dsyer
Copy link
Contributor

@dsyer dsyer commented Jul 24, 2023

Some View implementations will (not unreasonably) call response.getWriter() and write content directly. This is an error (in the spec I think) and Tomcat, for example, will barf. You can dodge the bullet by using an existing mechanism in Spring.

Some View implementations will (not unreasonably) call
response.getWriter() and write content directly. This is an error
(in the spec I think) and Tomcat, for example, will barf. You can
dodge the bullet by using an existing mechanism in Spring.
@wimdeblauwe wimdeblauwe added this to the 2.2.0 milestone Jul 28, 2023
@wimdeblauwe wimdeblauwe merged commit f4998bd into wimdeblauwe:main Jul 28, 2023
dsyer pushed a commit to dsyer/htmx-spring-boot-thymeleaf that referenced this pull request Jul 30, 2023
Use caching response wrapper in case views render pre-emptively
dsyer pushed a commit to dsyer/htmx-spring-boot-thymeleaf that referenced this pull request Jul 30, 2023
Use caching response wrapper in case views render pre-emptively
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.

3 participants