Support » Plugin: DreamSpeed CDN (RETIRED) » File Changes Handling

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    You mean https://wordpress.org/plugins/wp-smushit/ ?

    Since we’re both filtering the normal upload process, I’m not 100% sure. The images aren’t uploaded to the DB, you see, they’re uploaded to your server, and what my plugin does is, once they;re uploaded, copies them to the CDN. I THINK that SmushIt would work alright, since it filters AS they’re uploaded and I’m running after…

    Right.

    But, lets say you’re running the Smush it plugin, or any other sort of plugin that changes the file (not makes a new one) after it’s uploaded.

    For instance, Smush it has a bulk compression loop. It goes and compresses files that have already been uploaded. It actually replaces the original.

    I’m assuming since your plugin runs after upload it would not catch the file change via the metadata and repush the new file to the CDN?

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    No, it would not. Because technically WordPress has no knowledge of what you’ve just done (it doesn’t actively read the file system after all).

    If that was the case, you’d want to consider something like an NFS mount to the cloud drive.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File Changes Handling’ is closed to new replies.