What er1c said.
you generally cache to prevent server load or reduce response time as it adds unneeded complexity.Is there no way to cache it for a certain amount of time? (I've not looked into it at all being lazy)
similar to
Load page lock a cookie with timestamp
then if you reload the page the existing data will already be there and it will just have to load any new posts since that time stamp?
As I said I've not looked at the code/structure so don't even know if this is possible just a suggestion
you generally cache to prevent server load or reduce response time as it adds unneeded complexity.
the current way will be a poll to which will filter by previous post id or time. then it probably returns json with the posts.
if there is not a setting in the addon for a display speed.. not poll interval, then the easiest way would be to modify the addon client js to display the posts asap/whatever you choose.
aight, i think it does does get a bulk response, just the js is displaying one by one. so it could show very fast. i've only had a quick peek though. should be easy enough to fix, you can do it if you wantI haven't slept since Thursday :/
you know what I meant though.
Take the forums they pull everything first then display.
So a similar setup for the live would suffice. Ie load all before last time stamp. Make the "live" call.
render .
Its like waiting for a bus waiting for all the live to loadWe have had multiple comments regarding LZ-Live, some say it's too fast, some say it's too slow, what do you think?
aight, i think it does does get a bulk response, just the js is displaying one by one. so it could show very fast. i've only had a quick peek though. should be easy enough to fix, you can do it if you want
yeah i'll have a look. i'm away until next week tomorrow though, so it mightn't be instant.Yup, no settings in the live addon, @trax I can send you the js, if you could speed it up it would be appreciated by all
yeah i'll have a look. i'm away until next week tomorrow though, so it mightn't be instant.
if you have the unobfuscated src from https://www.landyzone.co.uk/js/liveupdate/min/update.js that would be useful
no worries, i'll sort itI'm afraid thats the only version of the js I have!