# Cache No POST

**URL:** <https://community.f5.com/t/cache-no-post/63380>\
**Category:** Community CodeShare\
**Tags:** irules, acceleration, devops, application-delivery, cache\
**Created:** [January 30, 2015, 12:20pm UTC](https://community.f5.com/t/cache-no-post/63380 "2015-01-30T12:20:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darren\_Person\_2](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@Darren\_Person\_2](https://community.f5.com/u/Darren_Person_2)\
**Post date:** [January 30, 2015, 12:20pm UTC](https://community.f5.com/t/cache-no-post/63380/1 "2015-01-30T12:20:46Z")

</div>

**Problem this snippet solves:**

Disable RAMcache for POST request responses.

**Code :**

```auto
when HTTP_REQUEST {
  if { [HTTP::method] equals "POST" } {
    CACHE::disable
  } else {
    CACHE::enable
  }
}

```

**Tested this on version:**

10.0

---

<div class="post-metadata">

**Author:** ![JRahm](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/jrahm/32/3327_2.png) [@JRahm](https://community.f5.com/u/JRahm)\
**Post date:** [January 30, 2015, 12:30pm UTC](https://community.f5.com/t/cache-no-post/63380/2 "2015-01-30T12:30:00Z")

</div>

contributed by dperson1
