Commit Graph
9 Commits
Author SHA1 Message Date
Sandro Santilli e8cbc666e2 Handle SQL API errors by logging them and requesting NO cache
SQL api is used to determine the list of source tables affected
by a query. Before this commit, the X-Cache-Channel header set
on sql api error was an arbitrary 'table' string, now the header
is omitted, the error logged and Cache-Control and Pragma headers
are sent as an attempt to request no caching.

The code includes test for this mechanism.
2013-03-13 10:39:00 +01:00
Simon Tokumine 98e5bab8e4 commenting and removal of bogus config. also disable cache in test environment 2012-06-06 15:24:44 +01:00
Simon Tokumine a382b9f601 check for nulls. 2012-05-08 10:52:58 +01:00
Simon Tokumine ac7593a743 check for nulls. out 2012-05-08 10:51:51 +01:00
Simon Tokumine 13b66c4e38 check for nulls 2012-05-08 10:38:01 +01:00
Simon Tokumine 4078098c3f enable cache clearing at table level granularity 2012-05-02 19:32:54 +01:00
Simon Tokumine ef15f4b48b migrated to node-varnish, fixed tests, refactor 2011-12-12 18:02:10 +00:00
javi santana 8474425375 added varnish invalidation code 2011-11-30 19:59:28 +01:00
javi santana c1ba45cf5a included LRU cache with redis invalidation 2011-10-13 13:17:00 +02:00