# prefetchPageResources( ) bug on editor X

**URL:** <https://forum.wixstudio.com/t/prefetchpageresources-bug-on-editor-x/49850>\
**Category:** Ask the community\
**Created:** [March 8, 2022, 12:24pm UTC](https://forum.wixstudio.com/t/prefetchpageresources-bug-on-editor-x/49850 "2022-03-08T12:24:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tisan1](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@tisan1](https://forum.wixstudio.com/u/tisan1)\
**Post date:** [March 8, 2022, 12:24pm UTC](https://forum.wixstudio.com/t/prefetchpageresources-bug-on-editor-x/49850/1 "2022-03-08T12:24:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [March 8, 2022, 2:16pm UTC](https://forum.wixstudio.com/t/prefetchpageresources-bug-on-editor-x/49850/2 "2022-03-08T14:16:45Z")

</div>

Hey @tisan1 , might be best to reach out in [the Velo forum](https://www.wix.com/velo/forum) for coding related issues.
