Hacker News new | ask | show | jobs
by kuzee 1833 days ago
Wow this site is fast. Well done. FWIW you can use AdSense/ad tags within LiveView, if you're using that. There's an attribute you need to set - Google it - I can't recall atm, but I got it working just fine on one of my sites to refresh ads and also take advantage of LiveViews speed for user engagement.
2 comments

Thanks @kuzee! Much appreciated :)

I appreciate that info on LiveView, I plan on digging into it!

The public-facing pages of this site aren't currently using LiveView, but I see it on the horizon.

For speed considerations, I'm actually caching news stories in memory using the excellent Cachex (https://github.com/whitfin/cachex) library.

I don't think Google will let you run ads on a news aggregator site w/o unique content. [1]

[1] https://support.google.com/adsense/answer/1348737

I think you're right @sakopov. Luckily, I don't intend on adding ads here :)

I'm just glad to share this site with the community and hope people get some value from it!