Increase SpeeD and Best Hosting?


I have the APP on hostgator…its a simple rest API…8 tables, I put on app.php:

‘debug’ => filter_var(env(‘DEBUG’, false), FILTER_VALIDATE_BOOLEAN),

and In cache :
‘duration’ => ‘+1 hours’,

The sometimes its so slow only for login…it’s exist anything else that I can do? or its my host?


You should check your code first.
I have an app with 20 tables, the main table (heart of the app) having 400 000 records.
Loading page is almost instant.

What exactly? it’s a simple rest api using cake bake all…

Could you enlarge? or explain?