- Issue created by @santhosh_103
Hello,
We are facing a challenge with ADVAGG module in Drupal. Drupal generates hashed paths for aggregated CSS and JS files, for example, /sites/default/files/css/optimized/css_1j7elOv1Y7jkbrFGK5mlhzFAjNRzimSGaM0epadPQHg.9gyHJLG_-yxvM0tkvAcdtDVICy1QFwa3MpJkLNXRi0k.css?stb2x7.
We have observed that and the concerning issue is that Google crawls and indexes asset URLs(css, js) based on the hashed file paths. Once Google indexes an asset, the URL becomes part of its search index. When the Drupal cache is cleared, ADVAGG generates new hashed URLs, but Google still holds the old hashed URL, leading to 404 errors when users visit those links via search results. This affects SEO and user experience.
Please let us know if there is any option or settings within the module to generate static file paths for aggregated CSS and JS files. This would ensure that the asset URLs remain consistent rather than generating new hashed paths every time.
Thanks in advance.
Active
Miscellaneous