Optimize the way we fetch links on home page for warmup
Is your feature request related to a problem? Please describe. The way we fetch links from the home page to warm up can be optimized as of now we match and get all the links on the homepage here before slicing the array here to preserve only the number filtered.
Describe the solution you'd like We should only match the filtered number of links directly without having to go through unused elements in the array. This would help increase the code efficiency during warm up.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
If we start with the filter value, and then we pass them into the validation, we might end up with a lower number than the filter value, which is not what we would want.
Am I missing something?
@MathieuLamiot Is this something that can increase the code efficiency and it's worth considering?
Yes, there might be some gain to it.