एएसपी कैशकंट्रोल संपत्ति
❮ पूर्ण प्रतिक्रिया वस्तु संदर्भ
कैशकंट्रोल प्रॉपर्टी सेट करती है कि प्रॉक्सी सर्वर एएसपी द्वारा उत्पन्न आउटपुट को कैश कर सकता है या नहीं। डिफ़ॉल्ट रूप से, प्रॉक्सी सर्वर कैश कॉपी नहीं रखेगा।
वाक्य - विन्यास
response.CacheControl[=control_header]
Parameter | Description |
---|---|
control_header | A cache control header that can be set to "Public" or
"Private".
Private is default and indicates that only private caches may cache this page. Proxy servers will not cache pages with this setting. Public indicates public caches. Proxy servers will cache pages with this setting. |
उदाहरण
<%response.CacheControl="Public"%>
or
<%response.CacheControl="Private"%>
❮ पूर्ण प्रतिक्रिया वस्तु संदर्भ