Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Add clarification for what happens when you mark a block as cacheable=false #1457

Merged
merged 2 commits into from
Oct 16, 2017

Conversation

erikhansen
Copy link
Contributor

Copy link
Contributor

@jeff-matthews jeff-matthews left a comment

Choose a reason for hiding this comment

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

Suggested rewrite

@@ -14,6 +14,6 @@
## Non-cacheable page checklist
- Use POST requests to modify Magento state (e.g., adding to shopping cart, wishlist, etc.)

- Blocks that can't be cached should be marked as non-cacheable in the layout
- Blocks that can't be cached should be marked as non-cacheable in the layout. However be aware that if you add a non-cacheable block to a page, that page will no longer be able to be cached in the full page cache.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested rewrite:

However, be aware that adding a non-cacheable block to a page prevents the full page cache from caching that page.

@erikhansen
Copy link
Contributor Author

@jeff-matthews Good feedback. I've made the suggested change.

@jeff-matthews jeff-matthews merged commit 50ce370 into magento:develop Oct 16, 2017
@jeff-matthews
Copy link
Contributor

Thanks @erikhansen!

magento-cicd2 pushed a commit that referenced this pull request Nov 17, 2017
1561: Added note advising devs to research DB feature compatibility
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants