Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Should I make one request for the whole web site or separated requests, which is better

Hi guys,
I've just learned that you can make just one request to the server for the whole website like a trick below:
<!doctype html><html lang="en">
#Head
    #CSSfile
  
<body>
#Navigation_main
#MainContainer
#Footer
#JSfile
</body></html>
Code (markup):
In this case, I send just one request for a simple html file to the server.
At the server, I replace a hastag like #Footer with block of code like something below:
<div id="footer">
    Footer Stuffs
<div>
Code (markup):
Now, I was wondering...

Should I make one request for the whole web site or separated requests, which is better

from HTML & Website Design https://ift.tt/2UCHRfL
via IFTTT

Post a Comment

0 Comments