Hi Marko –
Ok so i started from scratch – i deleted the W3 total cache plugin and completely reinstalled it. I left everything as the default – the only thing i changed was the access id/secret key and bucket to the S3 bucket.
I also recreated my bucket and also kept the images on the server in the uploads directory.
I am accessing the home page on our development site. I see the image on the page and in the Developer Tools i now see
Request URL: https://cdn.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://awsdev.missioncontinues.org/wp-content/uploads/391-060219_LAGalaxy_vs_NERevolution_SC1151.jpg?x42172
Referer: https://awsdev.missioncontinues.org/
I verify the image is both on the dev machine and in the s3 bucket.
I then DELETE the image from the dev machine and reload the page (clearing cache) and i again get a 404 and this is what i see in the developer tools
Request URL: https://awsdev.missioncontinues.org/wp-content/uploads/391-060219_LAGalaxy_vs_NERevolution_SC1151.jpg?x42172
Request Method: GET
Status Code: 404 Not Found
Remote Address: 3.94.68.21:443
Referrer Policy: no-referrer-when-downgrade
thanks