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

Help-hub-session-showcase #15

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 29 additions & 15 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,31 @@ export default defineConfig({
autogenerate: {
directory: "products/art-gallery/projects",
},
items: [
{
label: "Lighthouse",
autogenerate: {
directory: "products/art-gallery/Projects/Lighthouse",
},
},
{
label: "Dockerization",
autogenerate: {
directory: "products/art-gallery/Projects/dockerization",
},
},
],
},
{
label: "Documentation",
autogenerate: {
directory: "products/art-gallery/documentation",
directory: "products/art-gallery/Documentation",
},
},
{
label: "Issues and Resolutions",
autogenerate: {
directory: "products/art-gallery/issues-and-resolution",
directory: "products/art-gallery/issues-and-resolutions",
},
},
],
Expand Down Expand Up @@ -153,19 +167,19 @@ export default defineConfig({
{
label: "Projects",
autogenerate: {
directory: "products/courseflow/projects",
directory: "products/courseflow/Projects",
},
},
{
label: "Documentation",
autogenerate: {
directory: "products/courseflow/documentation",
directory: "products/courseflow/Documentation",
},
},
{
label: "Issues and Resolutions",
autogenerate: {
directory: "products/courseflow/issues-and-resolution",
directory: "products/courseflow/issues-and-resolutions",
},
},
],
Expand Down Expand Up @@ -212,7 +226,7 @@ export default defineConfig({
{
label: "Issues and Resolutions",
autogenerate: {
directory: "products/ontrack/issues-and-resolution",
directory: "products/ontrack/issues-and-resolutions",
},
},
],
Expand All @@ -235,19 +249,19 @@ export default defineConfig({
autogenerate: {
directory: "products/splashkit/documentation",
},
items: [
{
label: "Applications",
autogenerate: {
directory: "products/splashkit/documentation/applications",
},
},
],
// items: [
// {
// label: "Applications",
// autogenerate: {
// directory: "products/splashkit/documentation/applications",
// },
// },
// ],
},
{
label: "Issues and Resolutions",
autogenerate: {
directory: "products/splashkit/issues-and-resolution",
directory: "products/splashkit/issues-and-resolutions",
},
},
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
title: Review Research from T1
---

I have reviewed two reports on the Lighthouse scores and identified the issues that needed to be
rectified. One report was a review on the desktop app and the other was a review on the mobile app.
Both had many errors so, I had to analyse both reports and did some research on finding
recommendations and solutions for the issue identified.

## Desktop App

For the desktop app, here are the problems/recommendations I have identified from the report:

- Properly size images (add explicit width & height for images)
- Work on reducing network payloads
- Serve static assets with efficient cache policy
- Optimise the Largest Contentful Paint (make it faster):
- Eliminate resource load delay
- Eliminate element render delay
- Reduce resource load time
- Reduce time to first byte
- Reduce the impact of third-party code (identify slow third-party JavaScript)
- Reduce JavaScript execution time:
- Remove unused code
- Minify and compress code
- Implement code splitting
- Cache code with PRPL pattern
- Minimise main thread work:
- Evaluate the script (debounce input handlers, use web workers)
- Check style layout (reduce complexity of style calculations, avoid large, complex layouts).
- Rendering (manage layer count, simplify paint complexity, and reduce paint areas)
- Parse HTML and CSS (extract critical CSS, minify CSS, defer non-critical CSS)
- Reduce resource counts and transfer sizes (CSS & JavaScript, Images, Fonts, Documents, Media)
- Minify JavaScript
- Improve page loading speed:
- Using Preconnect to required origins
- Preload key requests
- Minimise critical request depth:
- Minimise number of critical resources (eliminate them, defer their download, etc)
- Optimize the number of critical bytes and reduce the download time
- Optimize the order for the remaining resources to be loaded (download all critical assets early
to shorten critical path length)

## Mobile App

For the mobile app, here are the problems/recommendations I have identified from the report:

- Properly size images (add explicit width & height for images)
- Work on reducing network payloads
- Serve static assets with efficient cache policy
- Optimise the Largest Contentful Paint (make it faster):
- Eliminate resource load delay
- Eliminate element render delay
- Reduce resource load time
- Reduce time to first byte
- Improve mobile friendliness (appropriately size tap targets)
- Reduce the impact of third-party code (identify slow third-party JavaScript)
- Reduce JavaScript execution time:
- Remove unused code
- Minify and compress code
- Implement code splitting
- Cache code with PRPL pattern
- Minimise main thread work:
- Evaluate the script (debounce input handlers, use web workers)
- Check style layout (reduce complexity of style calculations, avoid large, complex layouts).
- Rendering (manage layer count, simplify paint complexity, and reduce paint areas)
- Parse HTML and CSS (extract critical CSS, minify CSS, defer non-critical CSS)
- Reduce resource counts and transfer sizes (CSS & JavaScript, Images, Fonts, Documents, Media)
- Minify JavaScript
- Improve page loading speed:
- Using Preconnect to required origins
- Preload key requests
- Minimise critical request depth:
- Minimise number of critical resources (eliminate them, defer their download, etc)
- Optimize the number of critical bytes and reduce the download time
- Optimize the order for the remaining resources to be loaded (download all critical assets early
to shorten critical path length)
- Shorten main-thread tasks
- Check and use discernible name for links
- Add meta description to document

I have added cards and allocated story points for each of these problems and recommendations into
the Trello board under the ‘Lighthouse Project Implementation’ section.

This file was deleted.

Loading