Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the root cause is that wp-content/plugins/clonemykey-sns/build/index.js sets the images URL relative to its own path (through __webpack_require__.p ), which when that file is aggregated results in the images being requested relative to the aggregated AO JS file.

    as a solution you could:
    * exclude that file from being aggregated
    * “specify an output.publicPath manually via configuration or pass an empty string (“”) and set the __webpack_public_path__ variable from your code to use your own logic.” -> from the comments in the same file ??

    hope this helps,
    frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news clonemykey ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images not displaying from cache when JS optimization is enabled’ is closed to new replies.