ros-infrastructure / rosindex

The source code for generating index.ros.org
https://index.ros.org
GNU General Public License v3.0
12 stars 24 forks source link

Q&A Embedding is embedded multiple times for each distro, but is doing the same query #308

Closed tfoote closed 6 months ago

tfoote commented 1 year ago

This causes extra overhead in the rendering in the background and page size for each distro without benefitting the user.

Distro specific template: https://github.com/ros-infrastructure/rosindex/blob/26cbeb3250f6410920cfcc9681f4d4ec369826a5/_includes/package_body.html#LL451C30-L451C30

Not distro specific search: https://github.com/ros-infrastructure/rosindex/blob/26cbeb3250f6410920cfcc9681f4d4ec369826a5/_includes/package_body.html#L494