YQL Caching: _maxage url parameter works, but response.maxAge in the table doesnt?
Hi All,
Im trying to get yql to cache the results from my table for a couple of hours.
I have a little test table which just makes a y.query() to a webpage on my web server, and then outputs a value from that page. If i include the _maxage parameter in the url, it caches correctly, but I would like to get the same result without having to send the variable from the client-side.
Its stated that you can set this in your table by using setting the response.maxAge variable in the execute section of the table. I have done this, and there is no caching going on. Im just setting response.maxAge = 7200; at the top of the execute section, then executing a query, and dumping the results of the query into response.object. Am I doing something wrong?
Cheers
by
4 Replies