# Webdev - caching, Gzip?

**URL:** <https://forum.inductiveautomation.com/t/webdev-caching-gzip/16251>\
**Category:** Ignition\
**Created:** [December 7, 2017, 6:51pm UTC](https://forum.inductiveautomation.com/t/webdev-caching-gzip/16251 "2017-12-07T18:51:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscar.salcedo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/oscar.salcedo/32/11019_2.png) [@oscar.salcedo](https://forum.inductiveautomation.com/u/oscar.salcedo)\
**Post date:** [December 7, 2017, 6:51pm UTC](https://forum.inductiveautomation.com/t/webdev-caching-gzip/16251/1 "2017-12-07T18:51:10Z")

</div>

Hi all,

Wondering if there is a way to enable caching and/or Gzip compression for REST Webdev calls? I would think that those are enabled at the Web Server level, but do we have access to those settings?

Thanks,

Oscar.

---

<div class="post-metadata">

**Author:** ![oscar.salcedo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/oscar.salcedo/32/11019_2.png) [@oscar.salcedo](https://forum.inductiveautomation.com/u/oscar.salcedo)\
**Post date:** [December 7, 2017, 8:02pm UTC](https://forum.inductiveautomation.com/t/webdev-caching-gzip/16251/2 "2017-12-07T20:02:04Z")

</div>

Adding more details here after some research:

It looks like on the later versions of Jetty, gzip compression is enabled via gzip.mod, and enabled via the jetty-gzip.xml or a “context xml” file. Not sure where those reside?  
[https://www.eclipse.org/jetty/documentation/9.3.22.v20171030/gzip-filter.html](https://www.eclipse.org/jetty/documentation/9.3.22.v20171030/gzip-filter.html)

In earlier versions, a gzip handler can be added to web.xml (/ignition/webserver/webapps/main/WEB-INF/web.xml); but that approach is no longer supported? Can someone confirm?

> **[Jetty 7 gzip Filter](https://blog.max.berger.name/2010/01/jetty-7-gzip-filter.html)**
>
> Jetty includes a gzip-filter for dynamic compression of contents, thus saving bandwidth and enabling your site to load faster (especially im...

---

<div class="post-metadata">

**Author:** ![oscar.salcedo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/oscar.salcedo/32/11019_2.png) [@oscar.salcedo](https://forum.inductiveautomation.com/u/oscar.salcedo)\
**Post date:** [January 29, 2018, 2:29pm UTC](https://forum.inductiveautomation.com/t/webdev-caching-gzip/16251/3 "2018-01-29T14:29:30Z")

</div>

Bumping this up to see if anyone has any input. (and shamelessly tagging those who may have input 🙂 )@Kevin.McClusky, @Travis.Cox, @Colby.Clegg

Thanks!
