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

Redirect download URL instead of loading object #2

Open
mjsuhonos opened this issue Jan 14, 2015 · 0 comments
Open

Redirect download URL instead of loading object #2

mjsuhonos opened this issue Jan 14, 2015 · 0 comments
Labels

Comments

@mjsuhonos
Copy link
Member

Clicking the download link loads the entire object into memory, which can quickly exhaust php's memory limit.

See:
https://github.com/ryersonlibrary/islandora_usage_stats/blob/8b97f09d3df6900bc6836fad99b6d3ddb7d22bf5/islandora_usage_stats.module#L295

Instead, this should redirect via HTTP 30x to /islandora/object/PID/datastream/OBJ/label

@mjsuhonos mjsuhonos added the bug label Jan 14, 2015
mjsuhonos pushed a commit that referenced this issue Apr 5, 2016
mjsuhonos pushed a commit that referenced this issue Apr 5, 2016
Moved callbacks in menu alter to external file.
mjsuhonos pushed a commit that referenced this issue Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant