Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Documentation Request - 100% Angular Fallback #28

Closed
tmcgee123 opened this issue Oct 21, 2015 · 1 comment
Closed

Documentation Request - 100% Angular Fallback #28

tmcgee123 opened this issue Oct 21, 2015 · 1 comment

Comments

@tmcgee123
Copy link

In the midst of supporting private browsing on Safari (it doesn't allow webstorage), our product owner wanted a fallback for storage.

The solution we've provided was a temporary storage fallback, utilizing Angular's $cacheFactory and a decorator for angular-locker.

Here is a link to the Gist.

Would this be something you would want to provide in the case someone did not want to use Remy's polfill that utilizes cookies for a fallback? I realize that this is not as permanent as a cookie (refreshing will wipe the $cacheFactory values), but some people might want something Angular driven.

This is just a suggestion, any thoughts, comments, or criticisms would be highly appreciated as this is a code that is live on a production level website (tens of thousands of users a day).

@tymondesigns
Copy link
Owner

merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants