檢測(cè)到您已登錄華為云國際站賬號(hào),為了您更好的體驗(yàn),建議您訪問國際站服務(wù)網(wǎng)站 http://www.cqfng.cn/intl/zh-cn
不再顯示此消息
什么是緩存? 在項(xiàng)目中沒有必要每次請(qǐng)求都查詢數(shù)據(jù)庫的情況就可以使用緩存,讓每次請(qǐng)求先查詢緩存,如果命中,就直接返回緩存結(jié)果,如果沒有命中,再查詢數(shù)據(jù)庫, 并將查詢結(jié)果放入緩存,下次請(qǐng)求時(shí)查詢緩存命中,直接返回結(jié)果,就不用再次查詢數(shù)據(jù)庫。 緩存的作用? &
數(shù)據(jù)發(fā)生了變更,先刪除了緩存,然后要去修改數(shù)據(jù)庫,此時(shí)還沒修改。一個(gè)請(qǐng)求過來,去讀緩存,發(fā)現(xiàn)緩存空了,去查詢數(shù)據(jù)庫,**查到了修改前的舊數(shù)據(jù)**,放到了緩存中。隨后數(shù)據(jù)變更的程序完成了數(shù)據(jù)庫的修改。完了,數(shù)據(jù)庫和緩存中的數(shù)據(jù)不一樣了
錯(cuò)誤信息: System error. 解決辦法:請(qǐng)?zhí)峤还翁幚怼?/p>
錯(cuò)誤信息: Parameter error. 解決辦法:請(qǐng)根據(jù)接口文檔核對(duì)并糾正錯(cuò)誤參數(shù)。
錯(cuò)誤信息: Unauthenticated user. 解決辦法:請(qǐng)攜帶正確的鑒權(quán)信息。
錯(cuò)誤信息: The object does not exist. 解決辦法:請(qǐng)確定操作的對(duì)象存在。
錯(cuò)誤信息: Insufficient permission. 解決辦法:請(qǐng)檢查是否擁有操作權(quán)限。如沒有,請(qǐng)獲取相應(yīng)操作權(quán)限;如有,請(qǐng)?zhí)峤还翁幚怼?/p>
錯(cuò)誤信息: The upper limit is exceeded. 解決辦法:請(qǐng)按配額合理規(guī)劃操作,或提工單申請(qǐng)擴(kuò)大配額。
錯(cuò)誤信息: This service type is not supported. 解決辦法:請(qǐng)輸入正確的業(yè)務(wù)類型。
錯(cuò)誤信息: The user is not authorized to the enterprise project. 解決辦法:請(qǐng)先獲取企業(yè)項(xiàng)目授權(quán)。
錯(cuò)誤信息: The user does not have operation permissions because the fine-grained authentication is not passed. 解決辦法:請(qǐng)先獲取細(xì)粒度鑒權(quán)。
錯(cuò)誤信息: The acceleration domain name already exists. 解決辦法:請(qǐng)?zhí)峤还翁幚怼?/p>
錯(cuò)誤信息: The domain name has not been filed or the filing has expired. 解決辦法:請(qǐng)?jiān)诠ば挪繛榧铀儆蛎麄浒浮?/p>
錯(cuò)誤信息: Information about the origin server format is incorrect. 解決辦法:請(qǐng)?jiān)诠ば挪繛樵凑居騻浒浮?/p>
錯(cuò)誤信息: The number of acceleration domain names has reached the upper limit. 解決辦法:請(qǐng)?zhí)峤还紊暾?qǐng)擴(kuò)大域名配額。
錯(cuò)誤信息: The acceleration domain name does not exist. 解決辦法:請(qǐng)確認(rèn)操作域名是否正確,如確認(rèn)正確請(qǐng)?zhí)峤还翁幚怼?/p>
錯(cuò)誤信息: This operation is not supported by the domain name in the current state. 解決辦法:請(qǐng)檢查域名是否被封禁、鎖定或域名狀態(tài)是否支持當(dāng)前操作(如:未在啟用狀態(tài)下的域名不可執(zhí)行停用操作)。
錯(cuò)誤信息: The retrieval host failed the audit. 解決辦法:請(qǐng)?jiān)诠ば挪繛榛卦磆ost域名備案。
錯(cuò)誤信息: The URL domain name is not the acceleration domain name of the current tenant. 解決辦法:請(qǐng)確認(rèn)操作域名是否正確,如確認(rèn)正確請(qǐng)?zhí)峤还翁幚怼?/p>
錯(cuò)誤信息: The domain name of the origin server must be different from the acceleration domain name. 解決辦法:源站域名不能與加速域名相同,需要調(diào)整加速域名。