# Rebuild without cache

**URL:** <https://discuss.bitrise.io/t/rebuild-without-cache/2894>\
**Category:** Builds\
**Created:** [October 3, 2017, 5:02pm UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894 "2017-10-03T17:02:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [October 3, 2017, 5:02pm UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894/1 "2017-10-03T17:02:45Z")

</div>

## Description of the feature request

Rebuild without cache is the first step in resolving weird build issues. Currently this involves a manual process of deleting the cache from settings. With new cache optimizations for both Android and iOS, it’s now time to migrate this workflow to a first class feature.

## Use case / for what or how I would use it

1. Press the rebuild without cache button to delete the cache and reschedule the build.

 ![rebuild_without_cache](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/6966ade9baa9a97c798819dc4214975816184b8c.png)

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 3, 2017, 5:03pm UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894/2 "2017-10-03T17:03:41Z")

</div>

Awesome idea, thanks for the #feature-request @bootstraponline! 🙂

---

<div class="post-metadata">

**Author:** ![nhelke](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/nhelke/32/865_2.png) [@nhelke](https://discuss.bitrise.io/u/nhelke)\
**Post date:** [October 4, 2017, 5:07pm UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894/3 "2017-10-04T17:07:22Z")

</div>

How about a more generic “Edit & rebuild” button which enables not just to disable the cache but set arbitrary environment variables before rebuilding. In fact maybe disabling the cache is achieved via a magic environment variable being set, which doesn’t preclude the UI exposing a nice disable cache switch.

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [October 4, 2017, 5:32pm UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894/4 "2017-10-04T17:32:01Z")

</div>

The idea is to seamlessly enable a one click workflow which resets the cache (as is done by the competition already).

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 5, 2017, 7:53am UTC](https://discuss.bitrise.io/t/rebuild-without-cache/2894/5 "2017-10-05T07:53:43Z")

</div>

I think both are great ideas, but slightly different things - feel free to create a separate #feature-request @nhelke! 🙂
