On the course level, only the resource info is displayed, so the actual content of folders (files and subfolders) should have no bearing on performance. It might be worth checking the server logs (with debugging cranked up) and whether this has any relation to the theme and/or course format used.
Resource types
Extreme slowness with Folders.
This discussion has been locked so you can no longer reply to it.