Why is it not good to use iframe to lay out the web background management framework?

1. I think using iframe to layout can do local refresh, the page experience is better, why this is not good.

2. Why is it better to use div for layout? With DIV layout, each click of a menu button refreshes the entire page. If the menu bar data on the left side of the background is fetched from the database, then if you use DIV to layout, click a menu button to refresh the entire page and fetch data from the data every time. This will not affect the web page request

.

I know that with DIV layout, you can load the pages you need asynchronously, but I see that many foreign background management UI frameworks refresh the whole page

.
Mar.12,2021

first of all, the structure is ugly, the most important thing is code redundancy, the page in iframe is complete html, content will take those static resources, although the browser will cache, but it is not good, moreover, the communication inside and outside iframe, the code is still quite troublesome to write, that's all I know.


iframe page style debugging trouble, there are multiple scroll bars, the browser's back button is invalid, too much iframe will increase the server's HTTP requests, resulting in multiple pages, not easy to manage, not easy to print, and the code is complex, can not be interpreted by some search engines.


SEO problem, browser problem, data refresh problem, typesetting problem, cache problem, SO

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8ca4b-46eb2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8ca4b-46eb2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?