Many require.html files occupy a large amount of resources. Do I need to request about 10 htm static pages in one file? is it much more efficient than direct embedding? It must be loaded from the outside. what is the efficient method? Solution: ------------------ efficiency. Second, the key is whether it is necessary. It is necessary even for the purpose of being intuitive and easy to maintain. ------ Solution ----------------- many require.html files occupy a large amount of resources
I need to request about 10 htm static pages in a file,
Is it much more efficient than direct embedding?
It must be loaded from the outside. What are the efficient methods?
------ Solution --------------------
The key to efficiency is whether it is necessary. It is necessary even for the purpose of being intuitive and easy to maintain.
------ Solution --------------------
Readfile () is preferred for static files ()