I tested this out for myself and it seems to work.
If anyone can see any bugs feel free to commit.
Localstorage makes it much much faster on subsequent page loads. Since cat attributes don't change I didn't implement a way to invalidate the cache. Just in case I did write up a line to save the time the data was cached, so it can be implemented later and the data will already be there.
I tested this out for myself and it seems to work.
If anyone can see any bugs feel free to commit.
Localstorage makes it much much faster on subsequent page loads. Since cat attributes don't change I didn't implement a way to invalidate the cache. Just in case I did write up a line to save the time the data was cached, so it can be implemented later and the data will already be there.
Closes #4