امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Currently my site is caching static files on CDN.
I would like to extend caching to all forum pages, for guest users. Since they do not participate in the forums, they do not require real-time updates in the forums.
The problem now is to find out how to let the CDN know that a page is safe for caching.
I notice XF will always send cache-control no-cache
Can the header be overridden?
For example, if user is guest, then send Cache-Control: max-age=600
I would like to extend caching to all forum pages, for guest users. Since they do not participate in the forums, they do not require real-time updates in the forums.
The problem now is to find out how to let the CDN know that a page is safe for caching.
I notice XF will always send cache-control no-cache
Can the header be overridden?
For example, if user is guest, then send Cache-Control: max-age=600
