Skip to content

_isScopePrivate vs ESI hole punching vs private data #33555

@onlinebizsoft

Description

@onlinebizsoft

Summary (*)

Related to
#31754
https://support.magento.com/hc/en-us/articles/360040208612--isScopePrivate-in-private-content-blocks-slows-Magento-performance
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/cache/page-caching/private-content.html

_isScopePrivate couldn't be replaced by "private content" completely

Examples (*)

When you have a small block for announcement which appears on every page of the website, it has no interaction with user action (different from users action like adding to cart,....). The block may have content changed often but you wont want to flush whole cache to get it updated to every user. In this case you really want to use _isScopePrivate or ESI hole punching (depends on developer choice). It can't be done or replaced by "private content"

Proposed solution

So I don't understand why you are going to remove _isScopePrivate in future? We should keep the feature as it is and you just need to change to "private content" for necessary user cases.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions