SPBestWarmUp - Tired of waiting for SharePoint pages to load? This is for you!

Warmup SharePoint IIS memory cache by viewing pages. Loads the full page so resources like CSS, JS, and images are included. Please modify lines 75-100 to suit your portal content design (popular URLs, custom pages, etc.) http://spbestwarmup.codeplex.com

SPBestWarmUp.ps1
 
 
 
 
 
4.9 Star
(8)
4,292 times
Add to favorites
SharePoint
8/7/2016
E-mail Twitter del.icio.us Digg Facebook
  • Not warming up the proper webapp
    1 Posts | Last post April 12, 2018
    • Hi Jeff,
      
      Great post by the way - it does everything that I needed except one thing. After an IISRESET, I ran this script and everything gets warmed up. In IIS, I checked Worker Processes and I only see 'SecurityTokenServiceApplicationPool' on the list.
      
      I then load my SharePoint page, now I see 'SharePoint - 80' on that list.
      
      This script did warm up a bit. Normal page load is around 800ms. Page load after IISRESET is around 10s. Running the script brings it down to 8s.
      
      Maybe I'm doing something wrong that's causing the script to not warm up SharePoint - 80?
      
      Thanks!
  • This version is older than Github
    1 Posts | Last post January 02, 2017
    • This version is older than the Github version.
      
      Woulden't it be more simple to linkto that version?
  • please help "Retrieving the COM class factory for component with CLSID
    1 Posts | Last post August 18, 2015
    • S>TerminatingError(New-Object): "Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))."
      New-Object : Retrieving the COM class factory for component with CLSID
      {0002DF01-0000-0000-C000-000000000046} failed due to the following error:
      80080005 Server execution failed (Exception from HRESULT: 0x80080005
      (CO_E_SERVER_EXEC_FAILURE)).
      At C:\Software\SPBestWarmUp.ps1:64 char:15
      +     $global:ie = New-Object -Com "InternetExplorer.Application"
      +                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ResourceUnavailable: (:) [New-Object], COMExcept
         ion
          + FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Comman
         ds.NewObjectCommand
      
      You cannot call a method on a null-valued expression.
      At C:\Software\SPBestWarmUp.ps1:65 char:2
      +     $global:ie.Navigate("about:blank")
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
          + FullyQualifiedErrorId : InvokeMethodOnNull
      
      The property 'Visible' cannot be found on this object. Verify that the
      property exists and can be set.