Lifx - smart RGB bulbs

Wed, 2 Mar 2016 - 18:50

Project LIFX: The Light Bulb Reinvented has collected in november 2012 more than $1.3 million (goal set to 100 thousand). It's goal was to manufacture RGB-W LED bulbs LIFX, which you can control via WiFi. Author promised, they'll be ready in march 2013, but path to the final product was more difficult than expected. My 4 bulbs arrived in february 2014, so I've had to wait 15 months, but it was worth it.

Remove jQuery timestamp from json requests to hit Drupal cache

Mon, 22 Feb 2016 - 10:33

Problem: When ajax request has cache off it always creates request with timestamp e.g. _=1456134256000, and as it is get parameter, views are called and Drupal cache is not hit. And when cache is on, request is made without timestamp, and browser returns data from it's cache, so it doesn't hit server. What I needed is that script gets past browser cache, but hits Drupal cache.

Subscribe to Blog