How to unpublish a quick published PDF if the original PDF has been deleted? | Community
Skip to main content
New Participant
July 22, 2022
Solved

How to unpublish a quick published PDF if the original PDF has been deleted?

  • July 22, 2022
  • 1 reply
  • 1241 views

Hi guy!

 

I posted a PDF to AEM, quick published it, and deleted the test file. But I just realized that the quick publish link is still working. How can I unpublish it? Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mohit_KBansal

You should check your Caching rules (browser cache rule on apache, dispatcher flush, and CDN caching) to make sure assets (like pdf) get flushed immediately or within the business agreed time.

1 reply

Mohit_KBansal
Employee
July 22, 2022

Delete action on author Deactivate / Unpublish the asset first before deleting it. 

I believe PDF may be cached either on Browser/CDN or Dispatcher. Please try passing random query string ?q=123 to PDF link to check if it's also accessible.

New Participant
July 22, 2022

I just checked again and the link does not work any more. Can I just leave it as it? Will the file take up any cloud storage room? Do I need to take any actions?

Mohit_KBansal
Mohit_KBansalAccepted solution
Employee
July 22, 2022

You should check your Caching rules (browser cache rule on apache, dispatcher flush, and CDN caching) to make sure assets (like pdf) get flushed immediately or within the business agreed time.