I'm working on a text format filter module. Now, somehow Drupal keeps the node content in some cache that is not refreshed with drush cc all
, which I would have hoped to "clear all cache". This is with Cache pages for anonymous users and Cache blocks disabled.
I wrote a little script that adds " "
at the end of the node body, but even running that between two drush cc all
s doesn't cut it, still with cache disabled.
It's really strange. If I go to a page I haven't accessed yet, it will show me an old version what was filtered. So I'm tempted to now also let the script access the specific node over HTTP...
Is there an easy way to really clear all cache? I guess dropping and recreating all cache_*
tables could cut it but that seems a bit convoluted.
cache
for your filter'shook_filter_info
? It defaults to TRUE.drush cc all
clear all cache?drush cc
gives you the following options: 1) All 2) Drush 3) Theme Registry 4) Menu 5) CSS-JS 6) Block 7) Module List 8) Theme List 9) Registry. If Option 1 (all) only clears the items 2-9 then it won't clear field or filter cache. I don't really know 100% how drush works or if it's this or something completely different that's causing your issue! Just trying to help :)