Add faq in readme#101
Merged
Merged
Conversation
toonvandenbos
requested changes
Oct 15, 2025
toonvandenbos
left a comment
Member
There was a problem hiding this comment.
Maybe add other frequently asked questions?
| ## FAQ | ||
|
|
||
| <details open> | ||
| <summary>If you use Laravel Octane with Laravel 11</summary> |
Member
There was a problem hiding this comment.
Please rephrase as a question.
| <details open> | ||
| <summary>If you use Laravel Octane with Laravel 11</summary> | ||
|
|
||
| It optimizes your application by storing requests in RAM. Some reports mention that you need to flush the cookieConsent class to ensure it correctly saves the consent value, like so in your config/octane.php: |
Member
There was a problem hiding this comment.
"It" is not a clear answer. Please add more context.
Member
There was a problem hiding this comment.
Also:
Some reports mention that you need to flush the cookieConsent class to ensure it correctly saves the consent value, like so in your config/octane.php:
...does not sound like a real answer.
Maybe something like (please check typos):
In order to reset the cookies setup for each incoming Octane request:
1. Make sure the [insert cookie names] cookies are not encrypted
2. Add the following items to the flushed dependencies in `config/octane.php`:
toonvandenbos
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue #88 report that the cookie consent state was not being saved correctly when running Laravel 11 with Octane, something caused by Laravel Octane comportement. I added this to help people in the same use case.