-
Notifications
You must be signed in to change notification settings - Fork 23
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
In Safari, NotFoundError
is thrown when svg is cached
#10
Comments
Sorry, haven't caught with issues for some time. Are you still facing this. I wasn't able to reproduce on my safari (both mac and iOS) |
I can confirm that the issue still exists. |
Probably makes sense to solve it to cover #13 as well. If IndexedDB doesn't work, localStorage can be tried. LocalStorage has a limitation of 5MB but that should still be good enough for the cases where IndexedDB doesn't work. The error though shouldn't affect loading of icons. Only that caching won't work for subsequent loads. |
@honzabilek4 Thanks Siffr looks good! I would appreciate the PR. But I don't think we need WebSQL Storage (a dead API) and Cookies (bad for caching files). Although the library is tiny, I think it can be made even tinier, so we can consider including the library as a folder and remove the stuff that's not needed. |
I was thinking the same but needed to make it work quickly. It won't be difficult to it cut to the essentials and include it in the |
@honzabilek4 Any progress on this? If not, I can initiate work on it. |
Hi, |
Works fine on my end right now. |
This error doesn't occur in Chrome
Error message:
NotFoundError: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found
No error if
data-cache="disabled"
is included in the svg tagSeems to relate to jakearchibald/idb-keyval#134
The text was updated successfully, but these errors were encountered: