0

I'm building a page that does some heavy processing in a CSV file, so I opted for AngularJS to build it. I've noticed, however, that there is a library that is used by Salesforce that is lagging the page rendering a lot.

ExtJS is slow

ExtJS is slow as hell

Is it possible to disable ExtJS on a VF page? I've tried setting showHeader, standardStylesheets, sidebar and applyHtmlTag to false and the script still loads!

Every time I make a Remote Action call within Angular, the page seems to lag for a few seconds, and then normalize when the request finishes and the page is rerendered by the browser.

  • Have you tried showHeader="false"? – Adrian Larson Nov 3 '17 at 13:40
  • Yes, I've tried both showHeader and sidebar set to false, and the script still loads with it. – Renato Oliveira Nov 3 '17 at 13:41
  • 2
    What about stripping it all the way down? Like standardStylesheets, applyHtmlTag, and so on? Also, probably ought to edit your post to include this sort of information. – Adrian Larson Nov 3 '17 at 13:43
  • I've tried to reproduce this with Firefox, and it worked just fine. Maybe its an issue related to Chrome/Chromium. Should I delete this question, or answer it? – Renato Oliveira Nov 3 '17 at 14:27
  • I'm always on the side of answering. – Adrian Larson Nov 3 '17 at 14:31
1

For those who also noticed that the page becomes slow when using Visualforce Remoting, please check if you are using Chrome. I've tested the same page, doing the same thing, on Firefox, and it was a smooth experience.

This lagging issue might be related to Chrome, after all.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.