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

Cache issue with selected URLs #1

Open
PurpleCreativity opened this issue Dec 27, 2024 · 1 comment
Open

Cache issue with selected URLs #1

PurpleCreativity opened this issue Dec 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@PurpleCreativity
Copy link
Owner

Because of how the cache works, it takes request URLs as the keys, so with https://thumbnails.roblox.com/v1/users/avatar-headshot for example every next returned headshot image (if using cache) will be the very first until the cache is cleared.

2024-12-27-19-55-11320
2024-12-27-19-56-11321

@SuperCater
Copy link

@PurpleCreativity as a temporary solution just set the usecache to false

Your issue can be solved by simply adding params to the URL. I'm pretty sure there's some inbuilt function that will handle that for you, if not, its very simple to manually do it with a for loop.

You'll want to probably do it around here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants