When will the gallery die?

Topics: Troubleshooting
Apr 4, 2011 at 10:30 AM
Edited Apr 4, 2011 at 10:35 AM

SOON!

Just have Fiddler running while having a local Orchard installation running: Every some minutes it's issuing hundreds of requests to the Orchard gallery feed. Modules/Gallery and Themes(/Gallery) take minutes till there is a response returned (and Fiddler running Amok meanwhile).

To be concrete: Having just updated to latest 1.x and no additional modules (50 projects total) clicking on "install" on any module in the gallery first triggers 120 requests to the gallery until any installation takes place. And after that (showing "pick the features you want enabled") 400-600 additional requests are being issued -- thats insane!

Developer
Apr 4, 2011 at 8:07 PM

Thanks for noting this issue :)

With the introduction of the background task to check for updates in extensions (modules / themes) we are doing a request to the server from time to time to get that information about the packages. However, by consuming the same API we were getting, as well, separete requests to get all the screenshots - as you probably noticed :). This has been fixed on a push I just did. We will continue to look at perf issues around theme / module installation browsing in the scope of bugs:

http://orchard.codeplex.com/workitem/17464

http://orchard.codeplex.com/workitem/17553

 

Andre

Apr 5, 2011 at 3:24 PM

It's already a huge improvement :)  Fiddler just shows ~10 requests for the theme or module gallery page.