Website Speed Pack - WebP Images, Lazy Loading, Image Compression and Infinite Scroll
by Modvanta https://modvantaapps.tech/odoo-apps/website-speed-pack/$ 28.92

Website Speed Pack for Odoo 19
Faster Odoo pages without a CDN: product and website images served as WebP, lazy loading for videos, maps and description images, compression of uploaded images, longer browser caching, and a Load more button or infinite scroll on the shop.
Written and supported by Modvanta - modvantaapps@gmail.com
Odoo 19 Community and EnterpriseWebP with JPEG/PNG fallbackOriginals untouchedNo external serviceMulti-website14 automated tests
What it does
In plain language Images are most of the weight of a shop page. WebP files are usually a third to a half smaller than JPEG and PNG for the same look. This module converts the images your visitors download into WebP on the fly, keeps the converted files in a cache, and still sends JPEG or PNG to the rare browser that cannot read WebP. It also adds lazy loading where Odoo does not (videos, maps, images inside product descriptions and blog posts), loads the first images of a page straight away, and can make uploaded images smaller. On the shop, customers can load the next products with a button or by scrolling, instead of jumping to page 2. | Who it is for Odoo eCommerce shops with many product photos. Websites with embedded YouTube videos or Google Maps. Anyone working on PageSpeed, Lighthouse or Core Web Vitals scores. Shops that prefer a continuous product list to numbered pages. |
Key features
Every screenshot below was taken on Odoo 19 with this module installed.
FEATURE 1
What it adds over Odoo 19
Odoo 19 marks images in its templates as lazy and lets you convert single images to WebP by hand in the website editor. This module adds:
Automatic WebP for every product and website image (including resized ones), with fallback
Lazy loading for iframes and for images inside rich text (descriptions, blog posts)
The first images of each page loaded at once, for a better Largest Contentful Paint
Optional compression of uploaded and stored JPEG/PNG images
Browser cache time for images without a version stamp
Load more button or infinite scroll on the shop

FEATURE 2
Load more products
Instead of numbered pages, the shop shows a Load more products button. The next products are added below the current ones; the address bar follows, so Back and sharing still work.
Or infinite scroll: the next products load before the visitor reaches the bottom

FEATURE 3
Continuous product list
Here 8 more products were added under the first 8 with one click. Filters, sorting and search stay in the URL.

FEATURE 4
WebP conversion and statistics
Each image is converted the first time a browser asks for it and kept in a cache. The statistics show how much lighter the served images are; on the demo shop the product images became 54% smaller.
Automatic mode: WebP only for browsers that send image/webp, with Vary: Accept for proxies and CDNs
<picture> mode: a WebP source with the JPEG/PNG image as fallback
Animated GIFs, SVG and images that would not get smaller are left alone

FEATURE 5
Image compression
Optionally re-encode uploaded JPEG images at the quality you choose and optimise PNGs, for products, categories, website pages and blog posts. A button compresses the images already stored.
Only applied when the file gets at least 10% smaller
Off by default because it replaces the stored original

How it works
| 1 | Install WebP (automatic mode), lazy loading and image cache headers work straight away on every website. |
| 2 | Review the settings Website -> Configuration -> Settings -> Website Speed: WebP mode and quality, how many images load at once, cache time. |
| 3 | Choose the shop loading Pages, Load more button or infinite scroll. |
| 4 | Optional: compression Tick Compress Uploaded Images, then use Website Speed -> Compress existing images once. |
Settings
| Lazy-load Images in Descriptions / Videos and Maps | loading="lazy" and decoding="async" where Odoo does not add them |
| Images Loaded at Once | First N images of a page load immediately (default 2) |
| WebP Images | Off, automatic (by browser) or <picture> markup; quality 1-100 |
| Compress Uploaded Images | JPEG quality; PNG optimisation |
| Browser Cache for Images | Seconds of Cache-Control for images without a version stamp |
| Shop Product Loading | Pages, Load more button, infinite scroll |
FAQ
Are my original images changed?
No for WebP: the stored images stay as they are and WebP copies are kept in a cache you can clear. Only the optional compression replaces stored files, and only when they get at least 10% smaller.
What about browsers without WebP?
In automatic mode they keep receiving JPEG or PNG; the answer carries Vary: Accept so caches keep both versions apart. In <picture> mode the browser chooses itself.
Does it work with a CDN?
Yes. Use <picture> mode if your CDN ignores the Vary header.
Is it heavy for the server?
Each image size is converted once and then served from memory or the database cache.
Does infinite scroll hurt SEO?
The numbered pages still exist for search engines; the module only hides the pager for visitors and loads the next page into the current one.
Compatibility and support
Odoo 19 Community and Enterprise. Requires the Website app; the shop options need eCommerce.
Questions, a demo or a custom change: modvantaapps@gmail.com
AUTHOR Modvanta | INCLUDED 14 automated tests |
Buy Now - $29Hire Us for Odoo Work
Written and supported by Modvanta - modvantaapps@gmail.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 549 |
| Technical Name |
mdv_website_speed_pack |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/website-speed-pack/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module