Skip to main content
Post Reopened by Doc Brown, mmathis, Glorfindel
edited body
Source Link
Glorfindel
  • 3.2k
  • 6
  • 28
  • 34

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with httpHTTP/2?

Which other technical considerations are important regarding this decision?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with http/2?

Which other technical considerations are important regarding this decision?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with HTTP/2?

Which other technical considerations are important regarding this decision?

deleted 26 characters in body
Source Link

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with new protocols and internet speedhttp/2?

Which other technical considerations are important regarding this decision?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with new protocols and internet speed?

Which other technical considerations are important regarding this decision?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with http/2?

Which other technical considerations are important regarding this decision?

added 151 characters in body; edited tags
Source Link

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

IfSpecifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML? or are so there still disadvantagesis only a single request to the server? Or is this not a concern anymore with new protocols and internet speed?

Is there any rule of thumb or guidelines to followWhich other technical considerations are important regarding this decision?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

If the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML? or are there still disadvantages to this?

Is there any rule of thumb or guidelines to follow regarding this?

What are the advantages and disadvantages of including JS/CSS inside the HTML instead of separated files?

Specifically concerned about performance issues, for example, if the CSS and JS are small and simple, and they are not going to be used in any other page, is it better to include them with the HTML so there is only a single request to the server? Or is this not a concern anymore with new protocols and internet speed?

Which other technical considerations are important regarding this decision?

added 74 characters in body; edited title
Source Link
Loading
deleted 271 characters in body; edited title
Source Link
Loading
Post Closed as "Opinion-based" by Philip Kendall, gnat, Basile Starynkevitch
edited title
Link
Loading
edited title
Source Link
Loading
Source Link
Loading