How to website Performance boost ?
SEO Help and Tips
How to website Performance boost ?
Here is website Performance boost code:
Java:
<script>
new PerformanceObserver((list) => {
const latestEntry = list.getEntries().at(-1);
if (latestEntry && latestEntry.element >> latestEntry.element.getAttribute('loading') == 'lazy') {
console.warn('Warning: LCP element was lazy loaded', latestEntry);
}
}).observe({type: 'largest-contentful-paint', buffered: true});
</script>
Comments
Post a Comment
Thanks for your Comments.