Remove jQuery timestamp from json requests to hit Drupal cache

Mon, 02/22/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.

Welcome to ra100's lab

Tue, 02/02/2016 - 12:05

I've finally done it, this is my blog. Since it's my job to create websites, it has come to creating my web.

I will write here, if I will at all, about various tech (IoT) gadgets which I have or will create with RaspberryPi, NodeMCU etc. Meanwhile I'll try to continue with something I've begun on, reviews of gadgets from kickstarter or indiegogo. I can not forget about cosplay (the "cos" part). And there will be also something inbetween or something completely different, but I'll try to keep it technical.

And now, welcome to my laboratory.