# Onebox Image optimization / caching

**URL:** https://meta.discourse.org/t/onebox-image-optimization-caching/19843
**Category:** Feature
**Created:** [September 10, 2014, 4:31am UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843 "2014-09-10T04:31:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Lid](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@Lid](https://meta.discourse.org/u/Lid)
#### Post date: [September 10, 2014, 4:31am UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/1 "2014-09-10T04:31:35Z")

</div>

Continuing the discussion from [Image optimisation (work in progress)](https://meta.discourse.org/t/image-optimisation-work-in-progress/6013/2):

> [@zogstrip](#):
>
> Yeah.. sorry for forcing you to disable my _buggy_ implementation…
> 
> I’ll work on your TODO list in order to make it fast & reliable 😉
> 
> One question: what about images in oneboxes? I think we should also optimize & cache them. What do you think?

The following onebox, The image that is loaded as a thumbnail is 2500x1667 **4MB**

[http://www.wired.com/business/2013/03/five-google-products-at-risk/](http://www.wired.com/business/2013/03/five-google-products-at-risk/)

Facebook approach isto serve image via a safe\_image.php script will cache and resize the original image to a manageable thumbnail size.

onebox should be able to cache / resize external images if needed.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 10, 2014, 4:44am UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/2 "2014-09-10T04:44:36Z")

</div>

Yes this definitely should be fixed, its not good.

---

<div class="post-metadata">

### Author: ![solhuebner](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solhuebner/32/34652_2.png) [@solhuebner](https://meta.discourse.org/u/solhuebner)
#### Post date: [September 11, 2014, 9:22am UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/3 "2014-09-11T09:22:50Z")

</div>

+1 for fixing this as it is consuming a lot of bandwidth on mobile ☹

---

<div class="post-metadata">

### Author: ![solhuebner](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solhuebner/32/34652_2.png) [@solhuebner](https://meta.discourse.org/u/solhuebner)
#### Post date: [September 28, 2014, 9:24am UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/4 "2014-09-28T09:24:20Z")

</div>

I am unsure so I just ask 🙂 is someone working on this or do I just missed another topic on this one?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 17, 2021, 5:28pm UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/5 "2021-02-17T17:28:57Z")

</div>

Closing this since we’ve been optimizing onebox thumbnails for a while now 😉

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 17, 2021, 5:29pm UTC](https://meta.discourse.org/t/onebox-image-optimization-caching/19843/6 "2021-02-17T17:29:00Z")

</div>


