Views:

Applies to Product - Power Pages


What’s happening?
The customer is experiencing significantly increased download times when using the PAC command to download Power Pages sites, with times escalating from under 5 minutes to approximately 2 hours or more.


Reason:
The increase in download time is attributed to the addition of more content to support 24 languages, which has expanded the Power Pages application and increased the amount of data being processed during downloads.


Resolution:

  1. Test Downloading Specific Entities: Instead of downloading the entire website, test downloading specific entities that have been changed. Use the command format: pac paportal download --path "$downloadsPath" --webSiteId "$websiteid" --entities "adx_entityform, adx_webpage, adx_webtemplate" to limit the data being downloaded.
  2. Use PowerShell: It is recommended to execute the PAC commands using PowerShell instead of Visual Studio. Follow these steps:
  3. Install the latest version of Power Platform CLI using Windows MSI.
  4. Open PowerShell ISE (Run As Administrator).
  5. Run the command pac install to ensure the latest version is installed.
  6. Check the installation path using Get-Command pac | Select-Object Source.
  7. Monitor Download Times: After implementing the above changes, monitor the download times to determine if there is an improvement compared to the previous download times.