Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300674

How does aggregation work for JavaScript and CSS files?

$
0
0

Hi,

I like to know, how Drupal 8 aggregations are working for CSS and JS files. When it will create a temp file if opted for aggregation?

We have the realtime scenario, We have 2 drupal nodes, 2 LB nodes, and CDN server setup.

Aggregation is enabled. Whenever we deploy the new files to 2 drupal nodes. Based on the understanding of the new files will be updating the content on temp file to sites/default/files on the corresponding node. Obviously the second node will not have the temp file, so it will through you the 404 for temp file entry which is there in the cache table.

Based on our understanding, we should have a shared folder for sites/default/files. Which will be common for both drupal nodes to fix this issue.

Please correct us, if something is wrong with our understanding.

Thanks
Gopinath


Viewing all articles
Browse latest Browse all 300674

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>