Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

ASP core version is Very slow, EVERYTHING Is loaded for every View - please use dynamic js loading option


Hello in the ASP Core version, regardless of which plugins are used, almost all JS is loaded in EVERY ASP MVC view

Can you please only load the Dependencies via dynamics JS, so only those view/page dependency items are loaded. Or, at least give us an option to reduced the load weight on the page


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (7)


Hi,

The global features(core components and plugins) are loaded on all pages since those features can be used in any page block. However, you can load individual CSS/js assets pages using the KTTheme API.

Also, you can reduce the global bundle size by removing unused features by referring to this guide.

Regards.



This is very helpful and well thought out, is there a page or table that describes which pages have which dependency on js/css libs

Also please allow PDF printing of ASP documentation to read on kindle or sony,



Hi,

You can check the plugins references in the documentation to learn which css/js to include. Using KTTheme API to include any plugin globally or on required pages by just passing the vendor name.

Noted, we will consider the PDF version of our docs.

Regards.



Hello Sean, I was researching how to make Metronic faster, and found ASP core Isolation, which is 10x faster, let me know if you need more links.

Also, can you share when the update for ASP Core UI pages will be added, these are free and readily available code pages given by ASP/MS for free.



Hi,

Yes, style isolation is a great approach, but right now most of our styles are required on all views and must be loaded globally.

If you mean Razor Pages then in our current ASP.NET project we will not be additing them since our current version is ASP.NET Core MVC project so all of the views are rendered on the server. See ASP.NET Core MVC project description in official doc.
https://docs.microsoft.com/en-us/aspnet/core/tutorials/choose-web-ui?view=aspnetcore-6.0#aspnet-core-mvc.

If you want to enable a Razor Pages in your project you can check instruction in official doc.
https://docs.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-6.0&tabs=visual-studio

Regards,
Lauris Stepanovs,
Keenthemes Support Team



DumpsCompany is one of the best PDF questions and answer providers for the SAP C_IBP_2205 Exam. It has a wide range of products that cover all areas of the exam. These products are very easy to use and are extremely helpful in preparing you for the actual exam. DumpsCompany has a money-back guarantee and excellent customer support. Its customers are satisfied with the service and will recommend the product to their friends.

Click Here: https://www.dumpscompany.com/C_IBP_2205-exam-dumps



Looking to excel in your capstone project without the hassle? It may seem too good to be true, but with the exceptional support I received from PaperWriter https://paperwriter.com/write-my-discussion-board-post , it's entirely possible. Their team not only streamlined the process but also ensured that my project surpassed expectations.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(