Mac Story Posted March 20 Share Posted March 20 Hello everyone, I have developed multiple custom modules for my PrestaShop homepage, all hooked into displayHome. These modules are designed to be repositioned via BO > Design > Positions, allowing flexibility in their placement. Each module includes its own CSS, JavaScript, and images, and I’m concerned about whether having multiple modules with separate assets could negatively impact performance. Specifically: Could this setup lead to slower page load times or increased server resource usage? What are the best practices to optimize performance while keeping the modules flexible and repositionable? Should I consider combining? or lazy-loading CSS/JS files to minimize overhead? What’s the best approach for handling multiple images across different modules to prevent excessive loading times? I would appreciate any insights or recommendations on how to efficiently manage this. Thank you! Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 21 Share Posted March 21 (edited) Hi, it depends of each module if it use a smarty cache. Edited March 24 by Prestashop Addict (see edit history) 1 Link to comment Share on other sites More sharing options...
Mac Story Posted March 24 Author Share Posted March 24 On 3/21/2025 at 8:44 AM, Prestashop Addict said: Hi, it depends of each module if ituse a smarty cache. Expand Hello @Prestashop Addict, Can having many custom modules affect the Front Office site performance? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 24 Share Posted March 24 Yes. Executing multiple module hooks, Loading multiple resources (CSS/JS), and rendering templates using multiple hooks will certainly impact performance. 1 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 24 Share Posted March 24 On 3/24/2025 at 2:36 AM, Mac Story said: Hello @Prestashop Addict, Can having many custom modules affect the Front Office site performance? Expand It depends what each module does (SQL queries, webservices calls...) and if it use or not smarty cache. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now