BT San Technology

6 October 2026

What a cache is: a faster website without stale data or someone else's data

2 min read · Websites and web apps

Illustration: a laptop showing a product page with a refresh icon and a shielded user profile, beside a network switch and a coiled LAN cable
AI-generated illustration

This guide is available in Thai only.

สำเนาข้อมูลในเบราว์เซอร์ ตัวกลาง และฝั่งแอป อายุข้อมูล การตรวจซ้ำ และการยกเลิกสำเนา ข้อมูลสาธารณะกับข้อมูลเฉพาะผู้ใช้ต้องกำหนดต่างกัน

ขั้นตอนนำไปใช้

  1. ทำรายการหน้ากับประเภทข้อมูล
  2. กำหนดความเก่าที่ยอมรับได้และเงื่อนไขล้างสำเนา
  3. แยกกติกาเนื้อหาสาธารณะกับข้อมูลส่วนตัว
  4. ทดสอบเปลี่ยนข้อมูล เปลี่ยนบัญชี และออกจากระบบ

ตัวอย่างผลส่งมอบ

ผลส่งมอบ: ตารางนโยบาย Cache ของแคตตาล็อกและพอร์ทัลลูกค้า

ประโยชน์

ช่วยลดคำขอซ้ำและเวลาโหลดในกรณีที่เหมาะสม

ข้อจำกัดและข้อควรระวัง

การตั้งค่าผิดอาจส่งข้อมูลเก่าหรือข้อมูลส่วนตัวไปยังผู้ใช้รายอื่น

แหล่งอ้างอิงเริ่มต้น

  • MDN — HTTP caching
  • MDN — Cache-Control

References

  1. MDN — HTTP caching (accessed 2026-11-21)
  2. MDN — Cache-Control (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer