Improve on load performance
See original GitHub issueProblem:
Initial phase is very heavy and create long function call if page have lot of links/forms. Example profile when running in chrome, throttled by lighthouse:
There is just two elements that needs to be processed and have data attribute hx-get. However init code also look for link and form elements.
Solution: Is it possible to remove form and link from initial querySelectorAll ? What is purpose have form and link in selector ?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
9 Quick Ways to Improve Page Loading Speed - HubSpot Blog
1. Choose a performance-optimized hosting solution. · 2. Compress and optimize your images. · 3. Reduce your redirects. · 4. Cache your web...
Read more >20 Ways to Speed Up Your Website and Improve Conversion ...
In this post, we'll go over 20 tips and best practices you can use to decrease your load times and improve your site's...
Read more >Website Speed and Performance Optimization Best Practices
Guidelines to speed up your website · 1. Use a Content Delivery Network (CDN) · 2. Move your website to a better host...
Read more >3 Simple Tips to Improve Your Website Page Load Speed
1. Optimize images and video ... Some of THE biggest culprits increasing your webpage load time are images and video—as they take up...
Read more >Options for improving load performance - IBM
There are various command parameters that you can use to optimize load performance. There are also a number of file type modifiers unique...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am being lazy and processing all anchors and forms to see if they are “boosted” by
hx-boostBetter perf would be to look for [hx-boost] and then find all anchor tags and forms below it. I will try to get this in the next release.
thanks for catching that, I have removed the unused parameter