want to purge webp image cache




Wordpress LScache Plugin: want to purge webp image cache

Last Updated on: Wed, 15 Apr 2026 00:00:02
Im using Enable Media Replace plugin, but this plugin cant purge a set of webp image cache. So I want to purge a set of webp image cahe in media page. thx. P.S. I love this plugin. I used this plugin, my site is very speed upped. Hi, Could you please be a little more specific what do you mean cant purge a set of web image cache? best regards, Thank you for your quick reply. My problem flow is this. 1. upload media 2. make webp cache 3. old media replace new media with Enable Media Replace plugin 4. but webp cache is still old. ? problem jpg file is replaced new image If this plugin regenerates(purge and remake cache) the cache this problem will be solved. for example: https://imgur.com/a/hcunUYi Sorry about my poor English. Hi, Unfortunately as for now , those webp are generated when you request image optimization. so only way to get new images with new webp , is either you optimize it if they are identified as new image , if they are as replacement of old images , then you have to destroy all and re-optimize it ? Best regards, Hi, >then you have to destroy all and re-optimize it ? I got it. Thank you for your prompt response. Done in https://github.com/litespeedtech/lscache_wp/commit/a85024e30dfa886a28aba5bc3461bae53c8bc035



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference