Skip to main content

What is the best way to host static pages?

Question

What options are available for hosting static pages in Arc XP?

Answer

You can host static pages using one of four ways in Arc XP:

  • Upload to Arc XP origin servers: This option is best for files that:

    • Are not .js files

    • Appear at the root of the site for technical reasons.

    • Do not require frequent updates and can tolerate delays for updates that Arc XP Customer Support must perform.

  • Include in the PageBuilder Engine bundle: Resources such as icons, sprites, JavaScript, and CSS are typically included as part of your PageBuilder Engine bundle. These resources are normally located in the /resources folder, and must have a deployment id parameter (?d=), often best added programmatically using the deployment() function in PageBuilder Engine.

  • Alternate origin: You can serve files from an "alternate origin" outside of Arc XP, such as an S3 bucket or hosting provider. You must contact Arc XP Customer Support to install a rule in the CDN to route requests to this alternate origin based on a URL pattern or other criteria.

  • PageBuilder/outbound feeds: Serve requests by rendering them from PageBuilder or outbound feeds. This is especially useful for text content that must be updated frequently, such as ads.txt or robots.txt. Rending this from a page allows the file to be updated quickly.