Android 8.1 Oreo to automatically reduce inactive app space on your smartphone

The Android 8.1 Oreo update will come with a smart storage-space saving feature which automatically clears app cache of rarely used apps.

The next Android 8.1 Oreo update is expected to come with a host of new updates and one of them is an automatic storage space saving feature. First spotted by XDA Developers in a recent AOSP (Android Open Source Project) change, the new feature will automatically clean up app cache of inactive apps. This will only happen when the device is running low on space.
apps build cache over time which stores an apps’ saved state and data. It enables the app to run faster, but at the expense of storage space. When a device is running low on internal storage, clearing its app cache can free up a large amount of storage depending on the device and the apps that are installed. Some apps take up large amount of storage space for cache, whereas some others can consume less than 1MB. 
The latest developer preview of Android Oreo 8.1has been rolled out for select smartphones like the Nexus 5X, Nexus 6P, Pixel C, Pixel, Pixel XL, Pixel 2, and Pixel 2 XL. The company has planned two developer previews for Android 8.1 and has said that the current first release is a beta "with APIs". The second beta will be rolled out by November’s end. 
The main highlight of the developer preview update is the Neural Networks API. It will likely allow the new Pixel 2 to take advantage of the currently inactive Pixel Visual Core SoC. The SoC is Google’s first custom imaging Octa-core chip which enables faster image processing. It will also enhance Google's photo apps and will eventually allow third-party photography apps to take HDR+ quality images.