DataTables Data Processing Mode (AJAX or Preloaded)
The Processing Mode setting decides how a DataTables View loads its entries:
- Ajax (Server-side), the default, asks your site for one page of entries at a time, and again each time a visitor sorts, searches, or changes the page.
- Preloaded (Client-side) puts every entry in the page when it loads. The first load takes longer, and after that the table pages, sorts, and searches in the visitor’s browser without waiting for your site.
Changing the processing mode #
- Edit the View.
- In the Settings box, click the DataTables tab.
- Under Data Processing Mode, select Ajax (Server-side) or Preloaded (Client-side).
- Click Update.

Reasons to preload the entries #
Faster paging, sorting, and searching
Once the page has loaded, a preloaded table pages, sorts, and searches without asking your site. With Ajax, each click waits for your site, so a slow server makes the table slow too.
Searching Custom Content fields
The table’s search box searches what each cell shows, so it also finds text that a Custom Content field adds. With Ajax, your site searches the entries’ field values, and that text isn’t found.
Exporting more than 1,000 entries
In both modes, the export buttons save every entry that matches the visitor’s search, from all pages of the table. With Ajax, a button makes no file when more than 1,000 entries match and asks the visitor to narrow the search, unless the visitor first picks All in the Show entries menu. A preloaded table already holds all of its entries, so it has no such limit. Buttons (DataTables Setting) has the details.
Reasons to keep Ajax #
Large Views
A preloaded table puts every entry in the page, and the visitor’s browser does all the sorting and searching. With many entries, the page loads slowly and the table can be slow to use. For large Views, use Ajax.
Cached pages
Preloaded entries are part of the page’s HTML, so a page cache stores them, and visitors see the entries as they were when the page was cached. With Ajax, the table asks your site for its entries after the page loads. If a table on a cached page stops loading, see Fixing a DataTables View that shows “This table could not load” or stays on “Loading data…”.
Tables that ignore the setting #
- A DataTables View shown on another View’s single entry page, for example through a View field in the Single Entry layout, always loads with Ajax.
- A View whose Sort direction is Random always preloads its entries, even with Ajax (Server-side) selected.