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

feat: fragment block #66

Closed
wants to merge 3 commits into from
Closed

feat: fragment block #66

wants to merge 3 commits into from

Conversation

rofe
Copy link
Contributor

@rofe rofe commented Feb 18, 2022

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 18, 2022

Page Score PSI Audit Google
/ SI FCP LCP TBT CLS PSI

@rofe rofe requested a review from kptdobe February 21, 2022 06:53
if (resp.ok) {
const main = document.createElement('main');
main.innerHTML = await resp.text();
const img = main.querySelector('img');
Copy link
Contributor

Choose a reason for hiding this comment

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

Why only first image is lazy loaded ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the rest is set tolazy anyway. But to be honest, at this point it's irrelevant anyway, so I'll remove it again.

@kptdobe
Copy link
Contributor

kptdobe commented Feb 21, 2022

We should probably test (and add a check) for recursive fragment includes...

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 22, 2022

Page Score PSI Audit Google
/ SI FCP LCP TBT CLS PSI

@rofe
Copy link
Contributor Author

rofe commented Feb 22, 2022

It's still unclear what should happen with multiple sections, so I decided to remove multi-section support for now. We can add it back when we have a concrete use case.

@rofe rofe closed this May 30, 2022
@rofe rofe deleted the fragment branch February 6, 2023 15:30
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.

Fragment block
2 participants