Skip to main content
rajeev6969
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

Caching of PDF/Word documents by dispatcher

Is it possible to cache PDF/word documents on dispatcher? If yes then does it make any sense to cache these on dispatcher and will caching of these files will improve performance/user experience? Open for opinions.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Caching a PDF on the dispatcher can improve the download experience when you download that PDF. Obviously tt has nothing to do with the general speed of the page, which has a link to this PDF, and it also does not improve the performance of this specific page.

Jörg

6 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Caching a PDF on the dispatcher can improve the download experience when you download that PDF. Obviously tt has nothing to do with the general speed of the page, which has a link to this PDF, and it also does not improve the performance of this specific page.

Jörg

Translate
rajeev6969
Level 2
Oct 16, 2015 2:29 AM UTC

Hi Shekhar,

Don't see anything related to PDF caching on these two URLs. :(

Translate
joerghoh
Adobe Employee
Adobe Employee
Oct 16, 2015 2:29 AM UTC

There isn't anything special about caching PDF or .docx files.

Jörg

Translate
cquser_cquser
Level 2
Oct 16, 2015 2:29 AM UTC

pdf and word documents can be cached on dispatcher and the performance will improve after caching these files.

Translate
rajeev6969
Level 2
Oct 16, 2015 2:29 AM UTC
                    Can you please explain how caching pdf can help performance? In case of static pages, it reduces number of requests as it caches js,css,images etc and serves in a single request.. But how caching pdf will benefit when it will be single request in both cases?
Translate
WhoaShekhar
Level 10
Oct 16, 2015 2:29 AM UTC

Hi there,

Thanks for reaching out to Adobe Community:

The Dispatcher uses the web server's ability to serve static content. The Dispatcher stores cached documents in the web server’s document root. The Dispatcher has two primary methods for updating the cache content when changes are made to the website.

  • Content Updates remove the pages that have changed, as well as files that are directly associated with them.
  • Auto-Invalidation automatically invalidates those parts of the cache that may be out of date after an update. For example, it effectively flags relevant pages as being out of date, without deleting anything.

Please go through the below "dispatcher FAQ and the documents to cache article" to know everything about dispatcher.

https://helpx.adobe.com/experience-manager/using/dispatcher-faq.html

https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Specifying the Documents to Cache

Thanks!

Translate