1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Where Are the Original Attachments Located & Does CDN Cache Attachments?

Discussion in 'XenForo Questions and Support' started by Shyuan, Apr 3, 2014.

  1. Shyuan

    Shyuan Well-Known Member

    Hi guys,

    Thanks for reading my thread. :)

    I am using MetaMirror to fetch external images to local. I am using CDN for my forum (I cache the basic directories i.e. js, data and styles folders). So these fetched images will be cached by my CDN because they're located in /data/MetaMirrorCache.

    But when it comes to attachments, do these attachments cached by CDN as well?

    I looked into /data/attachments folder, all I can see is "smaller" version of the attachments (looks more like thumbnails). I can't find the original sized attachments, I wonder if the original sized attachments are also cached by CDN? Also, where do these original attachments went to?

    Hope to hear some inputs, thank you! :)
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    data/ includes attachment thumbnails.

    internal_data/ includes full-sized attachments.
  3. Shyuan

    Shyuan Well-Known Member

    Hey Jake, thanks for clarifying the path. Is it possible and it is advisable to cache internal_data directory?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    No. internal_data is not made to be directly accessible, unlike data.
  5. Shyuan

    Shyuan Well-Known Member

    Okay got it! Thanks Jake :)

Share This Page