Today I am going to explain you how you can reduce the time taken for loading by SPEAK components in your Sitecore application.
In order to reduce load time of SPEAK components after website modification, you can alter the compilation element in the web.config by adding the optimizeCompilations attribute to it as follows:
<compilation ... optimizeCompilations="true"> Actual Implementation in web.config file looks like:
Adding this attribute will make ASP.NET re-compile only the files that were explicitly changed and leave all the other files intact.
Please note that if optimizeCompilations is true, you might encounter some issues during development after re-compilation. According to the MSDN article
When you change a top-level file only the affected files are recompiled. This saves time but can cause run-time errors depending on the type of changes you make to a top-level file.
Please check the Optimizing Dynamic Compilation part of the a aforementioned article for more details.
Happy Learning Sitecore !!!!