Incorrect Document uploading to AWS

0

I am attempting to replace a version of a document on AWS with an updated file. When I upload thenew document, it is correctly loading as a new version, but the document is wrong. I have deleted newer versions to get back the original document, yet the incorrect document keeps showing up. https://s3.us-east-2.amazonaws.com/public-assets.maxxon.com/Our+Products/Commercial/Isolate/TDS/TDS_Maxxon_Comm_Isolate.pdf

I have uploaded the my new desired file as a different name to see if anything was wrong with pdf. It looks to be the correct file. https://s3.us-east-2.amazonaws.com/public-assets.maxxon.com/Our+Products/Commercial/Isolate/TDS/TDS_Maxxon_Comm_Isolate2.pdf

I could use the new link, but we have the current link pasted out on multiple pages, so it would be nice to just fixe the current link.

Does anyone know why this would be happening?

ParkerB
preguntada hace un mes147 visualizaciones
1 Respuesta
1
Respuesta aceptada

Here are a few steps you can take to troubleshoot and resolve this issue:-

First, try clearing your browser cache and then accessing the URL again. This ensures that your browser fetches the latest version of the file from the server.

If you are using CloudFront as a CDN in front of your S3 bucket, check the caching settings in your CloudFront distribution. Make sure that the caching behavior for your S3 origin is configured to honor the origin cache headers and respect cache control headers sent by S3. You may need to adjust the caching settings or invalidate the cache for the specific object.

Double-check the versioning configuration of your S3 bucket to ensure that versioning is enabled and that the correct versions of the objects are present in the bucket. You can use the AWS Management Console or AWS CLI to list object versions and verify their status.

aws s3api list-object-versions --bucket your-bucket-name

profile picture
EXPERTO
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas