Queries showing on google chrome network preview
Queries showing on google chrome network preview
seniorhm
Posts: 2Questions: 1Answers: 0
http://live.datatables.net/duqohetu/2/edit
Why is my ajax datatable request showing queries?
I don't want the queries made to the server to be shown in the preview
Kindly help
This discussion has been closed.
Answers
You've got
serverSide
enabled, so all paging, searching and ordering (i.e. every draw) will be sent to the server to get the correct data. If you don't want that, and if you haven't got too many rows (less than 50k), just disable server-side processing.Colin
Are you referring to the
queries
object? Take a look at your script to find where its being added to the returned JSON and eliminate that code. Its not a documented part of the Server Side Processing Prorotocl so its something added by your script.Kevin
I found the problem. I'm using datatables on laravel, the problem is because my environment settings for APP_DEBUG is true, i just chaged it to false