CartoDB-SQL-API/app/controllers
Sandro Santilli d23416cc60 Set X-Cache-Channel to NONE when the SQL may write to the database
Note that "may write" allows for false positive, so there could be
less cache hits than possibly allowable. If this will be a problem
for any real use case we could still improve the regular expression
used to detect "writing" queries.

Automated tests are added to check for the X-Cache-Channel header
with both writing and read-only queries performed by authenticated
requests.

Closes #27
Closes #43
2012-10-15 13:23:17 +02:00
..
app.js Set X-Cache-Channel to NONE when the SQL may write to the database 2012-10-15 13:23:17 +02:00