2012-11-26, 06:37 AM
switched code to rendering guide on server side and return HTML via ajax call instead of json.
this is a huge performance boost for the guide (was just too much data to render in javascript and a lot of data binding going on).
the RAW html for my 70 odd channels is about 1.2MB, but gzipped it comes in at around 55KB, thank goodness for gzip
leaving the guide page no longer has a slow wait, and changing days comes in just over "1 mississippi" for my server, so I'm happy with that performance.
this means I have to redo a lot of the guide code (show info popup, schedule recordings popup) since its no longer binding to objects, now its binding to HTML elements (messier code, but perfomance is more important here), im yet to check in this code, will be committed within the next 4 hours.
this is a huge performance boost for the guide (was just too much data to render in javascript and a lot of data binding going on).
the RAW html for my 70 odd channels is about 1.2MB, but gzipped it comes in at around 55KB, thank goodness for gzip

leaving the guide page no longer has a slow wait, and changing days comes in just over "1 mississippi" for my server, so I'm happy with that performance.
this means I have to redo a lot of the guide code (show info popup, schedule recordings popup) since its no longer binding to objects, now its binding to HTML elements (messier code, but perfomance is more important here), im yet to check in this code, will be committed within the next 4 hours.