Assets with renditions (thumbnails) are not available for download in dispatcher cache | Community
Skip to main content
October 16, 2015
Solved

Assets with renditions (thumbnails) are not available for download in dispatcher cache

  • October 16, 2015
  • 1 reply
  • 508 views

Hi there.

We have the following scenario:

- Dispatcher instance, we're caching for performance + security.

- Publisher instance

Let's say we request an asset http://site/content/dam/assets/brochure.pdf, this will get cached in our dispatcher dir and will be available normally.

Now let's say we request an asset's thumbnail http://site/content/dam/assets/brochure.pdf/jcr\:content/dir/brochure.jpg, this also will be cached in our dispatcher, but the first pdf will no longer be available for us.

We don't know why this is happening, but any asset with thumbnail will create as a directory within our cache, not as a file; and will respond a 404 when requested as http://site/content/dam/assets/brochure.pdf

We've tried to delete dispatcher cache directory, but it refreshes the same way. Is there a way to debug this? Maybe within dispatcher configuration?

 Thanks!

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 Sham_HC

Do not access rendition directly.  Please find below example on geometrixx how to get url for original file and rendition. In case you are not using dimension in rendition then need to customize thumbnail servlet accordingly.

[1]
http://<host>:<port>/content/dam/geometrixx/banners/techsummit.jpg
http://<host>:<port>/content/dam/geometrixx/banners/techsummit.jpg.thumb.319.319.png

1 reply

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Do not access rendition directly.  Please find below example on geometrixx how to get url for original file and rendition. In case you are not using dimension in rendition then need to customize thumbnail servlet accordingly.

[1]
http://<host>:<port>/content/dam/geometrixx/banners/techsummit.jpg
http://<host>:<port>/content/dam/geometrixx/banners/techsummit.jpg.thumb.319.319.png