CourseLit
Published in

CourseLit

WEBP Support

We are pleased to announce that CourseLit now supports WEBP by default. This means that every image you upload to CourseLit will get auto-converted to its WEBP counterpart.

CourseLit generates thumbnails for the image and video resources that you upload. With the new release, the thumbnails will also be in the WEBP format.

IMPORTANT: Any existing resource and its related thumbnail will not be auto-converted to WEBP. You have to do it manually.

Why

Serving images in next-gen formats is something what Google’s Pagespeed Insights tool recommends for faster and efficient loading of images on websites. Hence, we worked hard to bring WEBP support to CourseLit. CourseLit now passes the aforementioned test.

An excerpt from the PageSpeed Insights report, generated for a site built on CourseLit

Upgrading your site

In order to get the WEBP support, simply re-deploy the site using the commands listed in our Getting started guide.

Opting out

If you do not want the WEBP support, you can opt out of it. To do that please follow the steps.

  1. Upgrade your site by re-deploying
  2. Log into your server
  3. CD to docker directory
  4. Open .env file and set USE_WEBP to false.
  5. docker-compose down
  6. docker-compose up

We hope you will like this update. Thank you for reading.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rajat Saxena

Rajat Saxena

Software Engineer; Builds Internet Based Businesses & Apps; Solopreneur