-
Couldn't load subscription status.
- Fork 1.4k
Open
Labels
framework/gatsbyGatsby relatedGatsby relatedhacktoberfestHappy contributing!Happy contributing!help wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't workingtype/performance
Description
Description
In Mobile Site of Events
currently shows low performance scores on PageSpeed Insights
Here’s a detailed report highlighting the issues causing the page to lag: Report
Insights (Opportunities for Improvement)
| Audit Title | Est. Savings / Score | Relevance | Status | Details |
|---|---|---|---|---|
| Use efficient cache lifetimes | Est savings of |
LCP, FCP | Fail 🔴 | Multiple first-party resources (scripts, images, fonts) from layer5.io have cache lifetimes of only 4h; one script has 47m 40s. |
| Forced reflow | N/A (Performance Issue) | N/A | Fail 🔴 | A major reflow event spent 65 ms in framework-00cd734….js. Total unattributed time is |
| Network dependency tree | Max critical path latency: |
LCP | Fail 🔴 | Critical chain ends with a font file (QanelasSoftSemiBold….otf), delaying page rendering. |
| Reduce JavaScript execution time | Total CPU Time: |
TBT | Fail 🔴 | Dominated by YouTube scripts ( |
| Minimize main-thread work | Total Time: |
TBT | Fail 🔴 | High work with Script Evaluation ( |
| Reduce unused JavaScript | Est savings of |
LCP, FCP | Fail 🔴 | Largest savings are from YouTube (/app-612514b….js ( |
| Some third-party resources can be lazy loaded with a facade | Main-Thread Blocking Time: |
TBT | Fail 🔴 | The YouTube Embedded Player is loaded immediately, adding significant blocking time. |
| Avoid enormous network payloads | Total size was |
N/A | Average 🟠 | Largest payloads are from YouTube ( |
| Improve image delivery | Est savings of |
LCP, FCP | Average 🟠 | Several images are much larger than their displayed dimensions (e.g., |
| Render blocking requests | Transfer Size: |
LCP, FCP | Average 🟠 | The Cloudflare email-decode.min.js script blocks initial render. |
| Duplicated JavaScript | Est savings of |
LCP, FCP | Average 🟠 |
node_modules/react-dom is duplicated across multiple bundles. |
| Reduce unused CSS | Est savings of |
LCP, FCP | Average 🟠 | Unused CSS rules were found, primarily in a large CSS block. |
| Does not use passive listeners to improve scrolling performance | N/A | N/A | Average 🟠 | An event listener in www.youtube.com/…/base.js is not marked as passive. |
| Avoid serving legacy JavaScript to modern browsers | Est savings of |
LCP, FCP | Average 🟠 | Transpiled legacy JavaScript found in both YouTube and first-party bundles. |
| Layout shift culprits | Total Score: 0.014 | CLS | Informative | The largest shift (0.013) is tied to a web font loading in a div.blog-slider. |
| LCP breakdown | Element render delay: |
LCP | Informative | The LCP element (a text paragraph) is heavily delayed in rendering after resource loading. |
| 3rd parties | YouTube: |
N/A | Informative | YouTube is the dominant third party in terms of size and main thread time. |
| Avoid long main-thread tasks | 10 long tasks found | TBT | Informative | The longest tasks are dominated by YouTube scripts (e.g., |
| User Timing marks and measures | 63 user timings | N/A | Informative | Custom marks and measures recorded for various events. |
Expected Behavior
The website should implement the optimizations suggested by PageSpeed Insights.
Screenshots
Steps to Check Page Performance Scores
-
Open PageSpeed Insights
-
Enter the website URL.
-
Check the performance scores for both Mobile and Desktop.
-
Scroll down to review detailed insights and recommendations for improving page performance.
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.
- 📚 See contributing instructions.
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.
Metadata
Metadata
Assignees
Labels
framework/gatsbyGatsby relatedGatsby relatedhacktoberfestHappy contributing!Happy contributing!help wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't workingtype/performance