IndexedDB

The is an implementation of HTML5 IndexedDB, using an XHR request to load a versioned JSON file.

While queries run in the client's browser, data is not processed as part of the document or UI thread.
This puts it into a middle ground as an alternative to server-side processing.
The benefits are low-latency, offline browsing support, reduced server load, and it maintains high performance as data is stored/processed outside of the document DOM.

This is a working sample that should be adapted to individual need.
Firefox on Mac OS seems to take issue with IndexedDB

	<sortable-table pageSize="10">
		<indexeddb-ajax role="datasource" url="./fruits.json" dbVersion="48"></indexeddb-ajax>
	</sortable-table>
	

Basic Use

	<indexeddb-ajax
		url=[string]
		dbName=[optional string]
		dbStoreName=[optional string]
		dbVersion=[string]
		start=[int]
		length=[int]
		sortColumn=[string]
		sortDescending=[boolean]
		columns='[
			{"name":"name"},
			{"name":"energy"},
			{"name":"protein"},
			{"name":"fat"},
			{"name":"carbohydrates"}
		]'
	></indexeddb-ajax>
	

Demo