function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hamad AmaralHamad Amaral 

VF performance issue

Hi guys,

 

I have a VF page that sometimes has performance issues that I can't reproduce.

 

The page controller has a couple of very fast queries that populate a set of custom objects (~30 records) created in an inner class.

 

The VF page uses a javascript library stored as static resource (zip file with 40kb) and pull ou the records as a sortable table.

 

As I said I can't reproduce the performance issues, the page generation time is usually ~300ms but if the user doesn't hit the page in 7 days or so the next time the generation time is > 60 sec.

 

I wonder if the performance issue is related with the apex:includeScript tag and !URLFOR($Resource....) and if replacing these by a hardcoded URL will solve that. Any clues?

 

Thanks in advance.