forked from samvera/hyku
-
Notifications
You must be signed in to change notification settings - Fork 1
Upgrading manifest generation to Hyrax 2.9.2
Tiffany Chan edited this page Mar 19, 2021
·
11 revisions
See https://github.com/samvera/hyrax/pull/4412/files
Loading time is defined by the time for the first thumbnail of a compound object to load. In all instances, caching is disabled. Refreshed page 5 times and recorded the median time.
5G | Fast 3G | Slow 3G | |
---|---|---|---|
Before | 1:09.64s | 1:37.33s | Time out |
After | 0:08.77s | 0:31.96s | Time out |
concerns/hyku/iiif_manifest
concerns/hyrax/solr_document_behavior.rb
concerns/hyrax/solr_document/metadata.rb
hyrax/iiif_manifest_presenter.rb
-
hyrax/custom iiif_manifest_presenter.rb
(inherits from above)
hyrax/manifest_builder_service.rb
-
hyrax/custom_manifest_builder_service.rb
(inherits from above)
- Install Draper gem:
gem 'draper', '~> 4.0'
- Integrate option to cache manifests
- Change
config/features.rb
to include FlipFlop for manifest caching - Add support for PNGs with transparency
- Change the JS code in
public/uv.html
to only show label fields (without "label" in the label)