Websockets & similar products
February 14, 2025
at
7:45 PM
Hey y'all, happy friday!
This week, I finally finished a feature that I have been trying to get working for almost a year:
Websockets
Whenplane now uses a websocket for quicker updates to the main page, instead of polling (re-loading all data) every 5 seconds.
This uses less data (since the page's data is only re-fetched when something changes), and can also lead to faster updates.
There might be some issues with it though, because I haven't thoroughly tested it yet. I'll be watching it closely tonight, and fixing any issues that come up. If you notice something off, please
let me know, because there is a chance I might miss it. Hopefully the issues aren't too bad...
but if they are, you can switch back to polling using this link
I also added
Similar Products
...to the lttstore watcher.
Now on each
product page, Whenplane will show products that are similar to that product.
This is separate from LTTStore's similar products, so it is able to show retired products too.
These similar products are not updated as often as the product data itself. Some products are updated every night, but not every product's similar products are updated every night.
If you are looking at a specific product, the similar products for that product will be updated roughly every 7 days.
This is a feature that randomly popped into my head a few days ago, and for some reason I was really excited to implement it. A few hours later, it was done.
As always,
let me know if you run into any issues, or have suggestions/feedback.
Seriously, let me know about anything on your mind, especially small things. I want to make Whenplane as good as possible, and getting your feedback is the best way to do that.