CartoDB-SQL-API icon indicating copy to clipboard operation
CartoDB-SQL-API copied to clipboard

detect and ping urls on certain types of sql

Open tokumine opened this issue 13 years ago • 3 comments

see #6

create/drop table actions logging

etc

tokumine avatar Mar 08 '12 18:03 tokumine

I think if you are going to "parse" SQL its a good moment to extract tables from query too (to purge cache)

javisantana avatar Mar 08 '12 18:03 javisantana

Was the cache purge implemented in some other way already or is this still a needed feature ?

strk avatar Oct 12 '12 09:10 strk

We're taking about varnish cache don't we?

On 2.0 we're clearing the table cache from the rails app on this operations:

  • Map modification: clears map cache, also clears all the cache related to the tables being used on the map (parses the queries using the same method we're using on the SQL API).
  • Layer modification (styles, sql, kind of layer...): triggers its map cache clearing method (so same behaviour as above)
  • Table modification (table privacy, name and so on): clears the table's cache and its map's too.

demimismo avatar Oct 12 '12 11:10 demimismo