Answers.Body: <p>There are three database tables that Craft uses to manage template caches:</p>
  
  <pre><code>craft_templatecachecriteria
  craft_templatecacheelements
  craft_templatecaches
  </code></pre>
  
  <p>You can visit each of those tables remove any records in them directly.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-09T02:24:07.213Z
Answers.LastActivityDate: 2015-02-09T03:11:05.070Z
Answers.LastEditDate: 2015-02-09T03:11:05.070Z
Answers.UserDisplayName: Ben Parizek
Answers.Body: <p>This does not target the database cache specifically but I wrote this simple plugin to clear all caches from outside of the control panel.</p>
  
  <p><a href="https://github.com/themccallister/craft.cache-clear" rel="nofollow">https://github.com/themccallister/craft.cache-clear</a></p>
  
  <p>Would that work for you?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-08T18:21:59.620Z
Answers.LastActivityDate: 2015-01-08T18:21:59.620Z
Answers.UserDisplayName: Jason McCallister
Body: <p>Is it possible to manually clean the database caches for templates? Doing it from the CP becomes stuck. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-23T12:59:21.400Z
Comments.Text: I'd be more interested in why it's getting stuck and how we can fix it from sticking!
Comments.UserDisplayName: gromgull
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-23T13:00:55.050Z
Comments.Text: in my case the cache had ballooned to immense proportions and the database process timed out when trying to clean it.
Comments.UserDisplayName: Florian
Tags: <database><cache>
Title: Manually clean database cache
ThreadText: # Manually clean database cache
  
  (Asked by: username_0 on 2015-01-08)
  
  Is it possible to manually clean the database caches for templates? Doing it from the CP becomes stuck.
  
  **Tags:** database, cache
  
  > **Comments:**
  > **username_1**: I'd be more interested in why it's getting stuck and how we can fix it from sticking!  
  > **username_0**: in my case the cache had ballooned to immense proportions and the database process timed out when trying to clean it.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-02-09. Score: 3 | Accepted answer
  
  There are three database tables that Craft uses to manage template caches:
  
  ```
  craft_templatecachecriteria
  craft_templatecacheelements
  craft_templatecaches
  
  ```
  
  You can visit each of those tables remove any records in them directly.
  
  
  ---
  
  ### Answer by username_3 on 2015-01-08. Score: 4
  
  This does not target the database cache specifically but I wrote this simple plugin to clear all caches from outside of the control panel.
  
  <https://github.com/themccallister/craft.cache-clear>
  
  Would that work for you?
  
  
  ---
  
  