Community-Website
Community-Website copied to clipboard
[Bug] Reduce The Image loading Time
Description- The Image loading on the website takes a lot of time which makes the website slower and look bad.
Requirement-
- [ ] Come up with the the solution to reduce the loading time.
Hello Kajol. I am New To Community . Here Are My ideas.
- Stored Static Images in CDN , or Set Cache Option to Max 6 month to 10 days
- Daynmic Images Can Be Display With lazyLoading Component with default images base on pages where it is needed
- For The First Load of Site What We can Do Minimize The Image Size with Github Plugins like Img-Bot Which i have used
- Other Advances thing i have read to handle static images is transform images for device resolution and try to give them best resolution base on device height and width
We Can Used Some Node Package and Custom Command For Development only files to config point number 3 and 4. and handle them
@TheSwordBreaker the idea seems achievable. Could you please try implementing it atleast for one of the pages?
@Kajol-Kumari Sure I Would Love To Try LazyLoading Component and cli code for node package for image handling and compression
But Ya Pls Help me on How To contribute in open source as my knowledge on github always endup with lots of merge conflicts
Hey @TheSwordBreaker I can list the generalised step for making a PR below for you -
- Fork this repo
- Clone it on local (git clone <your_forked_repo_url>)
- Make a new branch from master and checkout to the same (git checkout -b <new_branch_name>)
- Make the required code changes
- Add to staging (git add .) 6.Commit your changes. (git commit -a -m "<your_commit_msg>")
- Push it.(git push origin <your_branch_name>)
- Make the PR using GitHub interface In case these steps doesn't make sense to you I would recommend you to go through gut tutorial first.
Hey @Kajol-Kumari i'd like to work on it, please assign :)
Sure @SandeepShekhawat8778 please go ahead with this issue.
Happy Learning :)
@SandeepShekhawat8778 can I please get an update on this issue?
I would like to work on this issue under JWOC