You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The_isPrivateScopevariable is making block(s) not cacheable.
Scenario/Preconditions
Since private content is specific to individual users, it is reasonable to handle this on the client-side (i.e., the web browser) instead of hitting the server for retrieving the same data on each customer request.
Always test in the Staging environment prior to making any changes to the Production environment.
Site Impact
Each request to Magento can trigger additional Ajax requests for non-cacheable blocks causing negative site performance.
The text was updated successfully, but these errors were encountered:
Description
The following table shows the private content block(s) that have the _isScopePrivate variables configured making the block not cacheable.
PATH
vendor/boldcommerce/magento2-ordercomments/Block/Order/Comment.php
Recommendation
Do not use the _isScopePrivate property in your blocks. This property is obsolete and will not work properly.
Replace _isScopePrivate property by private content instead.
Reference our developer documentation for guidance:
Please submit a Magento Support ticket for assistance or feedback.
Root Cause
The _isPrivateScope variable is making block(s) not cacheable.
Scenario/Preconditions
Since private content is specific to individual users, it is reasonable to handle this on the client-side (i.e., the web browser) instead of hitting the server for retrieving the same data on each customer request.
Always test in the Staging environment prior to making any changes to the Production environment.
Site Impact
Each request to Magento can trigger additional Ajax requests for non-cacheable blocks causing negative site performance.
The text was updated successfully, but these errors were encountered: