• Resolved evilpepe

    (@evilpepe)


    Hi Arno,

    I’m testing WPEngine’s new Page Speed Boost feature (https://wpengine.com/page-speed-boost/), which is basically a branded, simplified version of NitroPack (https://nitropack.io/).

    v4 works, but v5 throws some 404 errors, because it cannot cache and therefore find the following files:

    lightbox-photoswipe/assets/ps5/auto-hide-ui/photoswipe-auto-hide-ui.esm.min.js
    lightbox-photoswipe/assets/ps5/dynamic-caption/photoswipe-dynamic-caption-plugin.esm.min.js
    lightbox-photoswipe/assets/ps5/lib/photoswipe-lightbox.esm.min.js
    lightbox-photoswipe/assets/ps5/fullscreen/photoswipe-fullscreen.esm.min.js

    Not entirely sure why those files don’t get cached. My guess is might have to do with how they are imported (via js?). Perhaps it only caches enqueued files? Anyway, wanted to pass that on, in case you see some potential solution.

    Thanks for creating and maintaining this great plugin!

    Paul

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Yes, PhotoSwipe 5 uses modular JavaScript and therefore you can not just take the main file and put it to some cache. Please leave the files as they are, since the whole architecture of PhotoSwipe 5 is based on modules and the version distributed with my plugin also contains a number of plugins which also rely on modules.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.