خاصية ASP CacheControl
استكمال مرجع كائن الاستجابة
تحدد الخاصية CacheControl ما إذا كان خادم وكيل يمكنه تخزين الإخراج الذي تم إنشاؤه بواسطة ASP أم لا. بشكل افتراضي ، لن يحتفظ الخادم الوكيل بنسخة ذاكرة التخزين المؤقت.
بناء الجملة
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"%>
استكمال مرجع كائن الاستجابة