First ajax call is too slow. CFWHEELS

45 views
Skip to first unread message

Zuriel Kalaña

unread,
Jul 14, 2020, 11:09:04 AM7/14/20
to CFWheels
Hello.

I made an API to get information from the database to my Ionic app.

The problem is that the first ajax call is TOO slow, like 30 seconds, but just the first call.

Someone has any idea whats happening? is something related to server or ajax? 

Thank you.

Tom King

unread,
Jul 14, 2020, 12:31:37 PM7/14/20
to CFWheels
The first request to a wheels app with inevitably be slower if it's loading the framework for the first time - but it should be no slower than say, reloading it locally as you might do in development, unless your production server is noticeably under-powered, or you're trying to do something like load a large java library into memory, have far too many plugins, or 5000 models or something like that. However just because it's ajax shouldn't make any difference.
T
Reply all
Reply to author
Forward
0 new messages