PHP Include() - Header and Footer

前端 未结 1 1674
情深已故
情深已故 2020-12-22 08:04

I use php include() for my header, footer, navigation etc.

I have the following code repeated on each of my pages

  

        
相关标签:
1条回答
  • 2020-12-22 08:38
    1. If you aren't experiencing any problems with loading pages, you shouldn't be concerned of a faster ways.

    2. If you're experiencing some problems with page loading, these problems certainly NOT from the way you're including headers. You have to profile your site execution and find real part that slows whole thing down.

    0 讨论(0)
提交回复
热议问题