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

Limit cache size to upper and lower limit #4035

Merged
merged 6 commits into from
Jun 25, 2017
Merged

Limit cache size to upper and lower limit #4035

merged 6 commits into from
Jun 25, 2017

Conversation

asturur
Copy link
Member

@asturur asturur commented Jun 25, 2017

Add a system to cap the cache canvas in this way:

maximum area is defined,
minimum side and maximum side is defined.

This aims to keep cache canvas under certains dimensions ( no more than 2Mega pixel), respect aspect ratio when limiting

Do not got below the 256 px limit where some browser stop accelerating the canvases.

@asturur asturur merged commit 6185b07 into master Jun 25, 2017
@asturur asturur deleted the mess branch June 25, 2017 21:34
@asturur asturur mentioned this pull request Jun 27, 2017
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 this pull request may close these issues.

1 participant