-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Options for substat breakdown and roll quality #2
Comments
This is true, we have no implementation for this due to how enka works. Also sorry for the late response, apparently I don't get messages about stuff being said here. I will work on a method to allow this to happen and maybe also include the option on my latest project enka.discord. Will get back to this asap! |
2 days is a perfectly fine response time. Don't stress yourself. 😉 |
I like to respond within 5 minutes usually unless you catch me when driving or sleeping haha |
Ok so I've had a thought. How enka.cards work is specifically that every image is cached for 24 hours after it is generated from enka itself, this is to stop constant hits to enka.network whenever cards is hit (which for some reason is a lot). Right now we do have the option to switch language which ignores the cache and re-caches but in that language but if we were to include 2 options to change the image further, that means more requests to enka and more caching, storage ain't the issue though but the total load on enka could be a lot and gives people multiple ways to overload enka and me with requests, and cloudflare will just block my IP address if I send too many hits which is not what I want. If I can figure out a method in the future for fixing something like this, I will, but for right now, I probably won't implement this until the future. |
I don't really follow your argument. First of all, you mention that enka.cards caches the generated cards (which makes sense), but then you mention that each request with special options would cause further cards to be generated, which I don't agree with. If I'm sharing a card for my account with my chosen options (substat breakdown, roll quality, english language) then that should still only cause one card to be generated and cached for each URL, not Secondly, you mentioned a DoS type attack, which I also don't really agree with because
|
You have a valid point. I'll reopen this but it probably won't be done next week unless I get some serious motivation. I'll also include some sort of check to see if there is 3 cached responses and if there is, it won't fetch enka even if it's different and I think that would be good, or maybe if I think of another one when I am more awake. |
I generally always enable these two options when sharing an enka card because they provide a lot more insight at a glance than just the numbers of each substat.
According to the readme, there is currently no way to enable these for the embedded card.
The text was updated successfully, but these errors were encountered: