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

Insults are not refreshed (always/often the same insult is shown) #23

Open
EvilInsultGenerator opened this issue Jun 6, 2022 · 12 comments
Labels

Comments

@EvilInsultGenerator
Copy link
Owner

When asking the API for a random insults, it often delivers the same insults over and over.
Some users (website & API) and myself noticed this.

@WolvTMG
Copy link

WolvTMG commented Jun 12, 2022

Yep, this is happening for me as well.

@EvilInsultGenerator
Copy link
Owner Author

Thankfully I got a hint from a user and implemented it in 6d0f28b. 🙏

@INFINITE31
Copy link

INFINITE31 commented Jun 21, 2022

Still the same issue

@EvilInsultGenerator
Copy link
Owner Author

Still the same issue

Maybe caching might be an issue. 🤔

@INFINITE31
Copy link

Is it working for you guys? because its not working for me though

@EvilInsultGenerator
Copy link
Owner Author

Is it working for you guys? because its not working for me though

It's not working/refreshing for me too. Maybe there is some server-side caching of which I am unaware. 🤔
If anyone has a suggestion, please let me know.

@EvilInsultGenerator
Copy link
Owner Author

One user sent this:

I found a workaround by adding a random get value and string at the end of the api call. Literally adding "&something=" with a random 20 character string. So the problem lies in the api requests getting cached, I'm guessing server side because the python API calls don't have a cache.

@Natemo2625
Copy link

I've been having this issue as well, though I've only noticed this from the API side of things

@EvilInsultGenerator
Copy link
Owner Author

I've been having this issue as well, though I've only noticed this from the API side of things

Do you have an idea what might cause the issue? Any help is highly appreciated.

@Natemo2625
Copy link

I've been having this issue as well, though I've only noticed this from the API side of things

Do you have an idea what might cause the issue? Any help is highly appreciated.

I don't, but I can definitely look at it and see if I can figure it out

@Natemo2625
Copy link

It seems like the issue has been resolved, at least from the API, insults are refreshing for me now

@EvilInsultGenerator
Copy link
Owner Author

Yes, it looking fine now. Maybe it was a server issue after all. 🤔

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

No branches or pull requests

4 participants