Expand my Community achievements bar.

SOLVED

Caching of PDF/Word documents by dispatcher

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

6 Replies

Avatar

Level 10

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!

Avatar

Level 2
                    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?

Avatar

Level 3

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

Avatar

Employee Advisor

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

Jörg

Avatar

Level 2

Hi Shekhar,

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

Avatar

Correct answer by
Employee Advisor

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