- Joined
- Apr 18, 2020
- Messages
- 310
- Points
- 73
Reputation:
As you know XENFORO internal data, where overall there are full images attachments, are not cacheable by CDN.
Recently I read a couple of threeds where it seems that using .htaccess we can override the default set "no-cache" for this path/images, and in theory make them cacheable.
I try it, but, I'm not an expert in Apache / PHP and may be , there were syntax errors, and it didn't work..
Do you have experience or solution with that ?
here the threed :
https://xenforo.com/community/threads/possible-to-add-a-cache-setting-for-images-that-are-xf-attachments.156126/
https://www.keycdn.com/support/http-caching-headers
Recently I read a couple of threeds where it seems that using .htaccess we can override the default set "no-cache" for this path/images, and in theory make them cacheable.
I try it, but, I'm not an expert in Apache / PHP and may be , there were syntax errors, and it didn't work..
Do you have experience or solution with that ?
here the threed :
https://xenforo.com/community/threads/possible-to-add-a-cache-setting-for-images-that-are-xf-attachments.156126/
https://www.keycdn.com/support/http-caching-headers