Skip to content

What if localStorage is full? #2

@exside

Description

@exside

Hi,

just found your plugin because I had the same idea =), so great somebody else thought about this, thank you!

I'm just on the way of implementing it, but one question is in my head: What happens when the localStorage limit of 5MB is reached?

As of: http://stackoverflow.com/questions/13567509/what-happens-when-localstorage-is-full

it seems then could no new images be saved to the local storage, which probably would result in unexpected stuff...

so my question is, did you ever get to this point (I can imagine I could, trying to cache a large amount of thumbnails ~500, each 6kb and they can vary, so max ~1500, which leads to 500x6 = 3000kb and 1500x6 = 9000kb) and how could this possibly be handled by your plugin? any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions