AJAX Server-Side Filtering Issue - WordPress - or - Client-Side load times
AJAX Server-Side Filtering Issue - WordPress - or - Client-Side load times
The table I am currently working on is at http://qbhitlist.com/qbhitlist/quarterbacks
The overall issue(s) are either if I use client-side the page loads too slow ~12-14s BUT all the sorting and filtering work correctly
If I use Server Side the page loads lightening fast, but the filtering (The state, year, and style selects up top do not work (which are a main part of the sites functionality.)
The front end code is here, currently running client side http://pastebin.com/S8VFj0PT
The backend code is here http://pastebin.com/FNS5d8Ri
as you can see I tried using WP's transients to cache the json response, but it had no effect.
If there is a way that I could lazy load the json that would be great. But I am also open to working server side as well.
My skype is aketchmark if you want to contact me directly