---
title: "تقليل حجم Slug على Heroku"
description: "أولًا، ثبّتوا إضافة Heroku Repo:"
canonical: https://oozou.com/til/reduce-heroku-slug-size-113
locale: ar
date: 2021-01-06
topic: heroku
---

# تقليل حجم Slug على Heroku

> أولًا، ثبّتوا إضافة Heroku Repo:

Published: 2021-01-06 · Topic: [heroku](https://oozou.com/ar/til-topics/heroku) ([markdown](https://oozou.com/ar/til-topics/heroku.md))

أولًا، ثبّتوا [إضافة Heroku Repo](https://github.com/heroku/heroku-repo):

```shell
$ heroku plugins:install heroku-repo
```

ثم شغّلوا:

```shell
$ heroku repo:gc --app app-name 
$ heroku repo:purge_cache --app app-name
```

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/ar/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
