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

Adding ability to disable src cache #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arunes
Copy link

@arunes arunes commented May 13, 2021

Adding ability to disable src cache based on the #123

You can set the disable cache from the root config, it will work for all custom image avatars.

AvatarModule.forRoot({
  colors: avatarColors,
  disableSrcCache: true
})

It will add Math.random() to end of the image urls when set to true.
console

Added new tests
tests

@Heatmanofurioso
Copy link

Hi @arunes
Would you mind if I took this change to my ported version of the library? Since the owner doesn't seem to be maintaining it anymore, I'm trying to maintain and keep up to date my own version of this library

@arunes
Copy link
Author

arunes commented Nov 3, 2021

Hi @arunes Would you mind if I took this change to my ported version of the library? Since the owner doesn't seem to be maintaining it anymore, I'm trying to maintain and keep up to date my own version of this library

Sure go ahead!

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.

None yet

2 participants