Use hiredis and hgetall to fetch cache data.
Use redis for sessions
Use :Delete method instead of .Delete
Only call ttl on the key once
Make sure the return isn't a table.
Use single quotes
Fix syntax error
Small performance tweaks
Cache lists in redis
Make the cache expire after 2 hours and remove some debug code
Don't cache list if we're missing data
Move list generation to list model
Update search controller with new sites table and hiredis
Update api controller to use getlist from list model and hiredis
We need bunraku in here.
Use the new sites table.
Return a error message if title isnt found.
Fix the getshow method.
Set title to N/A if cache data does not exist in log.
Fix show titles in the log.