Jump to content

Does Using Multiple Custom Modules in displayHome Affect Performance?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...