2016年3月30日 星期三

ERR_CACHE_MISS 搜尋回上一頁空白或錯誤

 

ERR_CACHE_MISS 搜尋回上一頁空白或錯誤


瀏覽很多網站後都會發生一個小問題,那就是瀏覽搜尋結果,當我點近物件後,再使用瀏覽器的回上一頁功能,就會出現空白頁面,並出現錯誤,以chrome為例,如下:
這個網頁需要使用您先前輸入的資料才能正確顯示。您可以重新傳送這些資料,不過這麼做會重複執行這個網頁先前執行過的任何動作。
重新載入這個網頁。
按下重新載入按鈕,重新提交載入網頁所需的資料。
錯誤代碼:ERR_CACHE_MISS
這通常是搜尋頁面為a.php把搜尋的結果置入b.php,當我們把搜尋結果點進去看物件的時候,就是c.php畫面,所以一般來說瀏覽器回上一頁就是進入b.php,但是問題是b.php並沒有任何值的載入,所以就會發生空白頁面與錯誤代碼:ERR_CACHE_MISS的問題,解決的方式很簡單,

請把此段程式放在 a.php 裡(最外層的頁面中,才行)
<?php
header("Cache-control: private");
?>    



2 則留言:

  1. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it. fix err cache miss

    回覆刪除
  2. If you're trying hard to lose kilograms then you need to jump on this brand new personalized keto diet.

    To create this keto diet, licenced nutritionists, personal trainers, and professional cooks have joined together to produce keto meal plans that are productive, decent, cost-efficient, and fun.

    Since their launch in 2019, 1000's of individuals have already remodeled their figure and well-being with the benefits a good keto diet can provide.

    Speaking of benefits: clicking this link, you'll discover eight scientifically-proven ones provided by the keto diet.

    回覆刪除

CentOS 7 安裝Ansible 筆記

  參考了連結一、這篇來安裝Ansible ,簡單照打指令的過程中,並沒有這麼順利,在確認是否已安裝ansible 完畢時,跳出錯誤訊息「 Command " python setup.py egg_info " failed with error code...