Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82313

Ajax vs HTML Which is better when comparing them

$
0
0

I am new to datatables and got it working nicely with the plenty of documentation and examples in the forum. Thank you so much for this all.

Now I am building a new site and I want to include the datatables. Basically I have the option to use an ajax load or a php load and echo the table. All my pages are created by php. So I either get the data in the php code or in a separate ajax call.

What are the pro's and cons of each ?

PHP ECHO - probably has better seo options

AJAX - can be easily refreshed without pageload

What are some others? Is there a speed difference ?

Looking forward to your amazing insights.

Rob


Viewing all articles
Browse latest Browse all 82313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>