Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
All questions about EDocman extension

Slow site: Documents module generating multiple iframes containing parent page

  • jd1980
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 hours 4 minutes ago #179135 by jd1980
Hi,
I had an issue with one of my websites were the page load was slow on a page where I was using the Documents Module. I realised that this was because the module was placing iframes with src="#". Google Chrome loads a copy of the parent page into each of these iframes.

You can see the same happening on your Demo site on this page:  demo.joomdonation.com/edocman/

If you look at the Network tab in web inspector and filter to 'Doc' you'll see that it is loading up the page 9 times (once and then 8 times within iframes).

I have already fixed this issue on my own site  (by overriding all of the cases of src="#"  with src="about:blank" but I though I should mention the issue here in case you aren't aware of it.

Thanks for all your hard work and the recent security updates.

Please Log in or Create an account to join the conversation.

  • jd1980
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 hours 46 minutes ago #179136 by jd1980
sorry i meant to post this in Edocman forum not presales.

Please Log in or Create an account to join the conversation.

  • Dang Thuc Dam
  • Away
  • Administrator
  • Administrator
More
12 hours 17 minutes ago #179137 by Dang Thuc Dam
Hi,
Thank you for reporting this issue and for the detailed explanation.
I have made a small code change to improve the page loading speed on Chrome, especially in cases where the Documents Module is used.
Could you please test it again on the EDocman demo site and share your feedback?
Best regards,
Dam

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc Dam