jquery

How I got the Shittalk Generator to 80kb pagesize

  • Posted on: 30 March 2016
  • By: davis

Lesson #1: Probably shouldn't have named it Shittalk Generator. It's hard to tell your family what it is. "Well... it's a script to shittalk people". Maybe I would have named it the Trash Talk Generator, in restrospect

You can track the actual commits I made on Github, you'll see the progression in pagesize.

Here are some notes:

Minify HTML (http://www.willpeavy.com/minifier/)

Retrieving RSS with Javascript and NoCache

  • Posted on: 30 March 2015
  • By: davis

I use Google Feeds API to power my RSS fetching for a couple applications. One inevitable problem with dynamically accessing RSS feeds is that they tend to be cached.

The easiest cache-busting Javascript trick, in my opinion, is to append your RSS Feed URI with ?nocache and a random value.

UPDATE 4/42015 - Removed the trailing '/' from the RSS URL below. The code will fail with Google Feed's API if you do not remove the trailing '/'. Alternatively, you may replace the ? with & if you wish to leave the slash.