It happens to me on my website (on one game) and I think the reason is if a script/page
request the same files multiple times in a short time
then the server refuses to serve and throws out error 508 (exceeding the resources)
Unfortunately, such an error is difficult to easily resolve and you have to redesign your code
I didn’t manage to fix it - because the game has a loader and has to load all the files before it starts
and meanwhile, the game looks for a few more identical files for some other things,
let’s say the same mp3 file for different sounds events in the game
and the server sees this as requesting the same file (in a short time) and refuses
all other files calls once when that “limit” is exceeded.
refresh helps because the browser then keeps the files in the cache
and demands only the missing ones, so with a few refreshes (which of course is not ideal) that error disappears.
That’s my version of why this is happening and it doesn’t have to be an official statement !
I would like ifastnet to explain this to us (better than me).
@Oxy Thanks for the reply.
These files/assets are directly referenced in the static html page, so not sure why it would request those files multiple times in a short time span. But I’ll take a look again at my code and see if I can refactor anything.
Anyway, really appreciate your explanation on this issue. Got to learn some useful things on this HTTP 508 status as well. Thanks again