Lightbox with PhotoSwipe with Cloudflare Rocket Loader
-
Great plugin, thank you for making life easier for many.
The plugin has been working without any problem. I recently enabled CloudFlare’s Rocker Loader feature. It didn’t cause any issue but throwing two warnings where the second one is repeated several times:
1 – A preload for ‘…wp-content/plugins/lightbox-photoswipe/assets/ps5/frontend.min.js’ is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
2 – The resource …/wp-content/plugins/lightbox-photoswipe/assets/ps5/frontend.min.js was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate ‘as’ value and it is preloaded intentionally.
The second warning appears as many times as the plugin is used on a page. When I disable the Rocket Loader the warnings go away.
Any idea what is causing the issue?
- The topic ‘Lightbox with PhotoSwipe with Cloudflare Rocket Loader’ is closed to new replies.