For a secondary profile, every /api/plugins/<name>/ request for a name it
did not have rescanned all of that profile's plugin dirs, so any
authenticated 404 probe forced a full disk scan per request.
A name found missing now rescans once, then is answered from the cache for
10 s (_UNKNOWN_PLUGIN_RESCAN_SECS). An explicit rescan of that profile
(/api/dashboard/plugins/rescan, ?profile= included) clears it, and after
the window a newly installed plugin is found by the next request.
Refs #134889 (PLG-3)
Refs #139523