In some cases WordPress will serve the website under different URLs (eg www vs non-www version). It can also cause issues (for example redirects won’t work to the primary URL).

To avoid issues with different domains, it is recommended to enable Strict Host in Swift Performance Settings » Caching » Tweaks.

If you enable it, Swift Performance will cache only the main URL which is configured as Site URL in WordPress Settings.