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

New: Implement caching mechanism on render elements [ED-13883] #25730

Merged
merged 56 commits into from May 13, 2024

Conversation

KingYes
Copy link
Member

@KingYes KingYes commented Apr 14, 2024

No description provided.

core/experiments/manager.php Outdated Show resolved Hide resolved
@bkfino
Copy link

bkfino commented Apr 22, 2024

Works really nice, performance increase is hugh in my tests

arielk
arielk previously approved these changes May 12, 2024
@arielk arielk requested review from rotemee and louiswol94 May 12, 2024 13:06
@@ -75,6 +81,9 @@ public function add_assets( array $assets ) {
$this->assets = array_replace_recursive( $this->assets, $assets );
}

/**
* @deprecated 3.22.0
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

@KingYes - Not sure I understand the latest changes related to the loader, I see that you've restored the call to enqueue_assets(), but why not go with the direction that you need?:

  • enqueue_assets - will enqueue immediately (and not deprecated).
  • enable_assets - will point to the enqueue_assets() and will be marked as deprecated.
  • add_assets - will also register the assets.
    In other words to get rid of the "pre-enabled" capability if it's not needed?

@CLAassistant
Copy link

CLAassistant commented May 13, 2024

CLA assistant check
All committers have signed the CLA.

@louiswol94 louiswol94 force-pushed the tweak/ED-13883-elements-cache branch from 1143ede to d460607 Compare May 13, 2024 08:02
author
.wp-env.json Outdated Show resolved Hide resolved
@arielk arielk dismissed rotemee’s stale review May 13, 2024 11:23

approved by meeting

@arielk arielk merged commit 749c89f into main May 13, 2024
54 checks passed
@arielk arielk deleted the tweak/ED-13883-elements-cache branch May 13, 2024 11:24
KingYes added a commit that referenced this pull request May 13, 2024
Co-authored-by: ElementorBot <48412871+elementorbot@users.noreply.github.com>
Co-authored-by: Louis Wolmarans <louiswol94@gmail.com>
arielk pushed a commit that referenced this pull request May 13, 2024
… (#27305)

Co-authored-by: ElementorBot <48412871+elementorbot@users.noreply.github.com>
Co-authored-by: Louis Wolmarans <louiswol94@gmail.com>
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