Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
[8.0] What is a suitable caching mechanism for caching multiple product images for display both on the backend (Kanban) and Frontend (website_sale)?
I'm in the process of building a module that will use product_multi_image as a base for storing multiple product images for display on the website frontend (ie. the product page on the website) as well as the backend in Sale >> Products.
I am using this module (currently a work in progress) for storing the multiple images for products:
I am storing the product images in the filesystem, however I have noticed that there is a significant delay on kanban views after i've imported my product images along with their products into the database.
Currently i'm only importing multiple images to the following field:
to pull the full-size product image to be stored for the product.
I'm not sure whether the module is creating thumbnails (64px by 64px) and small images (128px by 128px) in the same manner as it is done with the built-in product image resizer inside Odoo (image_small, image_medium, image_big).
The module seems to introduce a significant delay to kanban views among other things, which may be due to the images being pulled in at their full size (this is an assumption, as i'm not sure at this point in time), or some other issue.
I have spoken to the developer who is working on the module and they have suggested that a caching mechanism might be suitable for resolving this issue.
The discussion is here:
I'd like to know if anyone has any suggestions on a suitable caching mechanism and whether you think it could be achieved using tools like Varnish, Nginx, etc. for caching, or whether there is a more suitable way to achieve this.
I'm currently working on building a database with around 15,000 products each with multiple product images, so if this is to be accomplished i'll need to look into improving the performance by implementing a caching mechanism, or some other means.
If anyone has any suggestions on the best way to accomplish this I would value your insight and advice on the topic.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/4/15, 12:30 AM|
|Seen: 655 times|
|Last updated: 6/5/16, 5:17 PM|