Re:Show HN: Plain Text Cryptocurrency Prices
by guillaumec on Tuesday June 14, 2022 @12:30PM
(#31741843)
Yes, since I got too many requests from HN, I had to enable the CDN. I didn't realize it would cache both html and terminal request together. I tried setting "Vary: User-Agent" but it didn't work. You can add: "?term=true" to make it work in terminal for now.
Re:Show HN: Plain Text Cryptocurrency Prices
by weird-eye-issue on Wednesday June 15, 2022 @01:18AM
(#31749390)
I think Vary: Accept-Encoding or similar is the solution for this but not sure
Re:Show HN: Plain Text Cryptocurrency Prices
by alainchabat on Tuesday June 14, 2022 @11:33AM
(#31741001)
looks like OP implemented it ( https://plaintextco.in/about ) :
https://plaintextco.in/?ids=bitcoin,ethereum,mina-protocol,avalanche-2
It would be nice to configure a list of coins to be displayed. Something like:
Also, you could reduce the HTML size significantly by using <i> instead of <span> and create a classnames for the colors.