My HTML5 game runs fine, however, I have a ton of audio files which is creating a problem when using AJAX to get text files.
Here's what I do:
1. on start of layout I request thru AJAX a text file and I get it immediately.
2. Then I press a button to get the same text file and it takes about a 40 seconds to get. Note that this project has many audio files loaded in the sound folder.
3. When I do the same exact thing in a different project, with no audio files loaded in the sound folder, I get the text file right away when the button is pressed.
Note that the audio files are never used, just loaded into the sound folder (this is from watering down my project to find the cause of the AJAX being so slow).
Develop games in your browser. Powerful, performant & highly capable.