PDF file not updating when specific pages declared in UR:L
I have a PDF file that I I reference for multiple links (using different page ranges).
I have the file referenced in many locations/systems, and do not want to have to updated the URL with new version numbers each time I update the file - so, I choose to "overwrite' when a new PDF is uploaded.
However, when a page range is declared, the new PDF file ins NOT invoked (refer to link above)
Here is the file without a page renage declared,
https://images.grandsierraresort.com/image/upload/menus/Grand-Cafe-Complete-Menu-at-Grand-Sierra-Resort.pdf
The first URL displays pages 5 thru 10 of the PDF
If you go to the 5th page of the second URL - you will see the discrepancy (look at price of Bay Shrimp Cocktail) - the URL with the page range has the old price still
Is there a way to tell Cloudinary to force clear any cached version of a given file..(or other process via the console)?
-
Hey,
In order to update an already uploaded pdf/image file. you can use our upload API and set the
invalidate
parameter totrue
. Note that it might take up to an hour for the invalidation to fully propagate through the CDN, while theversion
component affects immediately. When uploading via the Media-Library the invalidation comes built-in in the request.Please note, when your assets are within a folder (like in your sample). Only URLs delivered with the /v1/ component are invalidated. If you need to invalidate images or videos with a folder structure that were delivered without the
/v1/
component, submit a service request.You can read more about it here:
https://cloudinary.com/documentation/upload_images#invalidating_cached_media_assets_on_the_cdn
Thanks,
0
Post is closed for comments.
Comments
1 comment