1
Hello,
I'm working on a module that needs to get data from a remote database. For now, it only has one block and in that block php file, I'm creating a new database connection. It works extremely slow. Plus, I need to add some more blocks and I don't want to create new connection in each block, especially when they are on the same page.
What can I do to make this more efficient?
Thanks.