The admin page is loaded from every module for every page. I made a quick change to reduce the memory load because the site is already loading a hundred modules and using too much memory on standard page loads.

The admin pages are split out into separate files in the .zip file. The patch makes the other changes. The Linkedin menu loads the linkedin.admin_page.inc file and that file loads the rest. The linkedin_admin_page hook is changed to get the names of the files defining admin forms then the files are loaded once instead of being included all the time.

The same technique could be used for the user page profile code.

CommentFileSizeAuthor
linkedin.zip5.3 KBpeterx
linkedin_admin_page_patch.txt12.82 KBpeterx

Comments

greg.harvey’s picture

Category: feature » task
Status: Active » Needs review

This sounds like it's worth a look.