Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache thumbnails locally #14

Closed
5 tasks done
mberkowski opened this issue Mar 16, 2022 · 0 comments · Fixed by #32
Closed
5 tasks done

Cache thumbnails locally #14

mberkowski opened this issue Mar 16, 2022 · 0 comments · Fixed by #32

Comments

@mberkowski
Copy link
Member

mberkowski commented Mar 16, 2022

Use an async job in Sidekiq to:

  • Retrieve thumbnail from CONTENTdm, e.g. https://cdm16022.contentdm.oclc.org/utils/getthumbnail/collection/p16022coll208/id/1717
  • Name file according to document ID e.g. p16022coll208:1717.png using image format provided by CONTENTdm
  • Provide a means to refresh targeted thumbnails or all thumbnails via rake
  • Provide a means to delete targeted thumbnails or all orphaned thumbnails
  • Fall back on CONTENTdm remote thumb if cached does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants