▲ | riehwvfbk 4 days ago | ||||||||||||||||||||||||||||||||||
It did make all those requests, but only because the author set up caching incorrectly. If the cache headers were to be corrected, site.xsl, pages.xml, and posts.xml would only need to be downloaded once. | |||||||||||||||||||||||||||||||||||
▲ | b_e_n_t_o_n 4 days ago | parent [-] | ||||||||||||||||||||||||||||||||||
The cache headers are correct, you can't indefinitely cache those because they might change. Maybe you could get away with a short cache time but you can't cache them indefinitely like you can a javascript bundle. Not to mention on a more involved site, each page will probably include a variety of components. You could end up with deeper nesting than just 4, and each page could reveal unique components further increasing load times. I don't see much future in an architecture that inherently waterfalls in the worst way. | |||||||||||||||||||||||||||||||||||
|