<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # 3.3 靜態內容與動態內容 ## 3.3 靜態內容與動態內容 現在我們從編程實現的角度看一看服務器是如何響應客戶端請求的。當客戶端做出一個請求,比如 ``` GET /index.html ``` 服務器如何返回相應的資源?這取決于/index.html代表的資源是否含有服務器動態生成的內容。比如我們需要index.html包含服務器當前的時間: ``` <!doctype html> <html> <body> 現在是2016年 7月 3日 星期日 17時42分32秒 CST </body> </html> ``` 每次GET /index.html都會得到不同的內容。這就是服務器生成的動態內容。相反,如果index.html包含的內容固定不變,如 ``` <!doctype html> <html> <body> Hello! </body> </html> ``` 這就是靜態內容。 對于靜態內容,我們不需要花力氣去編程就能通過HTTP提供它們——現有的HTTP服務器,如Apache、Nginx等等都幫我們做好了:只要把這些靜態的文件存放在指定的目錄下(這些目錄由服務器的配置文件指定,如Apache的DocumentRoot或者Nginx的root參數),服務器就會用它們來響應HTTP請求。 動態內容則需要靠服務器端編程實現。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看