litespeedtech / litespeedtech/lscache_wp

Add adaptive image generation feature

Open
#195 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Could you guys add adaptive image generation to LSCache? I.e. the ability to generate and serve multple image sizes for different screen sizes to improve loading times. This is the only feature that third party services like Shortpixel offer which LSCache doesn't. There are plugins to do it but they process images in php which is expensive. Being able to do this at the server level in OLS would mean we can ditch external image optimisation services once and for all :)

There are a couple of plugins you could borrow code from:
https://wordpress.org/plugins/adaptive-images/
https://wordpress.org/plugins/shortpixel-adaptive-images/

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the LSCache and OpenLiteSpeed integration points, then compare the approaches used by the linked Adaptive Images and ShortPixel Adaptive Images plugins. Done would require a defined design for generating and serving multiple image sizes at the server level without relying on third-party services.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.