prefetchPageResources( ) bug on editor X

Hi,
I’m trying to to use the prefetchPageResources( ) feature, but unfortunately, there’s no way of knowing if it actually works. It returns “Message”: “Success” even when I fetch pages that don’t exist.

Example:
const response = wixSite . prefetchPageResources ( {
“lightboxes” : [“This lightbox does not exist”],
“pages” : [“This page doesnt exist”]
} );

Respone is :
{ “Message”: “Success”}

Even though those pages/lightboxes don’t exist.

I guess this is a bug? What should I do about it?

Maybe.
But in my experience prefetchPageResources has no noticeable effect anyway.
You should consider removing it.