Background:
As discovered with Drupal 10, a regression is found that causes CSS and JS aggregated URLs have a fixed URL path and is not affected by cache contexts: https://www.drupal.org/project/drupal/issues/3354204,
As a workaround for this issue, we apply a workaround in the target subpath site to redirect URLs if the sub-path site is detected when accessing the platform domain URL
With this, we also apply a solution for potential URLs where the subpath was added incorrectly to via content or caching
Note:
There is a special counterpart AGCDN configuration that is done by Pantheon to apply a similar redirect when URLs are also missing the subpath prefix but it was actually a CSS or JS file rendered from a subpath site.
Background: As discovered with Drupal 10, a regression is found that causes CSS and JS aggregated URLs have a fixed URL path and is not affected by cache contexts: https://www.drupal.org/project/drupal/issues/3354204,
As a workaround for this issue, we apply a workaround in the target subpath site to redirect URLs if the sub-path site is detected when accessing the platform domain URL
With this, we also apply a solution for potential URLs where the subpath was added incorrectly to via content or caching
Note: There is a special counterpart AGCDN configuration that is done by Pantheon to apply a similar redirect when URLs are also missing the subpath prefix but it was actually a CSS or JS file rendered from a subpath site.