layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Performance] Research which area need to use Serve static assets with an efficient cache policy

Open sudhanshutech opened this issue 1 year ago β€’ 3 comments

Description

Use pageSpeed to get performance statistics. We might need to use Caching Static Sites of gatsby to create a very fast loading of site using setting up proper HTTP caching.

Read here: https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/caching/

Screenshots

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

sudhanshutech avatar Aug 25 '24 14:08 sudhanshutech

@sudhanshutech I am willing to work on this issue, can you please assign?

AlfiyaSiddique avatar Sep 01 '24 16:09 AlfiyaSiddique

@AlfiyaSiddique, go ahead!

ashparshp avatar Sep 09 '24 10:09 ashparshp

@AlfiyaSiddique, any luck?

ashparshp avatar Sep 27 '24 20:09 ashparshp

I apologize for the delayed reply, @Ashparshp. I was occupied with my academics last month. I will be continuing this now. If this is an urgent issue that needs to be resolved, I do not mind it being reassigned if someone else is willing to complete it in less time. I hope you understand. Thank you!

AlfiyaSiddique avatar Nov 10 '24 17:11 AlfiyaSiddique

@sudhanshutech @Ashparshp I have performed the analysis and this is the outcome: https://pagespeed.web.dev/analysis/https-layer5-io/ffoaybm2p6?form_factor=mobile

The overall performance is too low with 26% for mobile & 33% for desktop.

These are the reasons for bad performance: image

For the next step, I need a bit of guidance. I should use Gatsby for the HTTP caching and test again for performance, am I right?

AlfiyaSiddique avatar Nov 10 '24 17:11 AlfiyaSiddique

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 02:04 stale[bot]

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

stale[bot] avatar Apr 27 '25 09:04 stale[bot]