🔎 Faster Search Experience
Recently, TCGPlayer sent notices to sites like ours about acceptable use of their data. They politely asked we revisit how frequently we pull data from them.
Instead of impacting the speed of price checks, I've made changes to search to help keep TCGSniper running smoothly.
- Search by game: You can now select a hobby (Magic, Pokémon, Yu-Gi-Oh!, Lorcana, One Piece, Gundam, and more) before searching.
- More aggressive caching: I've reworked how the catalog is cached to reduce redundant requests and make better use of the data already available. Each game is refreshed weekly on alternating days.
- Still supports the full catalog: Products from TCGplayer and Card Kingdom aren't going anywhere! For products outside the selectable games, you can still import them directly using their URL.
This is a bit of a tradeoff in how search works, but it lets me keep supporting a much broader catalog while maintaining a healthy relationship with TCGPlayer. I'll keep refining the experience as I go.