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

HTTP Cache docs #573

Closed
wants to merge 1 commit into from
Closed

HTTP Cache docs #573

wants to merge 1 commit into from

Conversation

GwendolenLynch
Copy link
Contributor

Related to bolt/bolt#6023

Copy link
Contributor

@PhillippOhlandt PhillippOhlandt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this should go into the config section

@GwendolenLynch
Copy link
Contributor Author

I completely disagree.

This is going to be part of a larger set of documents, aimed at the expert group of users.

@PhillippOhlandt
Copy link
Contributor

But it's about a setting in config.yml and therefore needs to go into the config section. We wont spread stuff all over the docs again.

@GwendolenLynch
Copy link
Contributor Author

But it's about a setting in config.yml and therefore needs to go into the config section. We wont spread stuff all over the docs again.

And the other 99% that has to do with everything else? …and the Varnish follow up, that doesn't even touch Bolt?

@PhillippOhlandt
Copy link
Contributor

Well, those Settings should still be on a site in the config section. You can link to it then. Let's talk about that when I am home. I think about a solution in the meantime

to cache rendered pages on disk for a period of time.

This can provide a performance boost on some pages, as means less work for the
werb server to do in order to serve the requested page repeatedly in a short
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They took our jerbs!


<p class="note"><strong>Note:</strong> Requests for logged on users will not
be cached.
</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this "logged on" users, or any user that has a session? Eg. from Members?

Does it also automatically exclude POST requests for forms?

--------

To enable [Symfony HTTP Cache][] for your Bolt install, in your `config.yml`
file, find the `caching:` key, and enableing the `request` parameter.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enabling

```


Fine Tuning Options
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be Fine-tuning, right?

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.

None yet

3 participants