website icon indicating copy to clipboard operation
website copied to clipboard

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

Open EvilInsultGenerator opened this issue 2 years ago • 12 comments

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.

EvilInsultGenerator avatar Jun 06 '22 20:06 EvilInsultGenerator

Yep, this is happening for me as well.

WolvTMG avatar Jun 12 '22 13:06 WolvTMG

Thankfully I got a hint from a user and implemented it in https://github.com/EvilInsultGenerator/website/commit/6d0f28b307e8b9d95d68202c5aadc78bee4b42e2. 🙏

EvilInsultGenerator avatar Jun 12 '22 18:06 EvilInsultGenerator

Still the same issue

INFINITE31 avatar Jun 21 '22 12:06 INFINITE31

Still the same issue

Maybe caching might be an issue. 🤔

EvilInsultGenerator avatar Jun 23 '22 08:06 EvilInsultGenerator

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

INFINITE31 avatar Jun 25 '22 10:06 INFINITE31

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 avatar Jun 25 '22 19:06 EvilInsultGenerator

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.

EvilInsultGenerator avatar Jun 25 '22 19:06 EvilInsultGenerator

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

Natemo2625 avatar Aug 08 '22 18:08 Natemo2625

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.

EvilInsultGenerator avatar Aug 12 '22 23:08 EvilInsultGenerator

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 avatar Aug 14 '22 05:08 Natemo2625

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

Natemo2625 avatar Sep 15 '22 07:09 Natemo2625

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

EvilInsultGenerator avatar Oct 09 '22 19:10 EvilInsultGenerator