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

XF 1.2 browser caching otpion in Acp?

Discussion in 'XenForo Questions and Support' started by Biarritz64, Nov 8, 2013.

  1. Biarritz64

    Biarritz64 Active Member


    i have made a page speed test for my forum and got a red flag for browser caching.

    Is there an option to enable it in the acp
    or something with the config php

    Thank you
  2. MattW

    MattW Well-Known Member

    It's something you need to configure in the web server config, such as apache with mod_expires to make the browser cache images/CSS/JavaScript etc.
    CyclingTribe likes this.
  3. Biarritz64

    Biarritz64 Active Member

    Thank you for your answer, i am on a shared host, is there something i can do with my htaccess or other solution ?
  4. CyclingTribe

    CyclingTribe Well-Known Member

    I would suggest contacting your host and asking if they have any caching already configured on the server.

    You could also try enabling simple file caching as per the XF help documentation: http://xenforo.com/help/cache/

    Shaun :D
  5. Biarritz64

    Biarritz64 Active Member


    My host does not have any caching for now and i already you simple file caching, but still got the red flag

    Thank for your answer
  6. MattW

    MattW Well-Known Member

    You can add various things in the .htaccess providing the host has mod_expires compiled in Apache
  7. Biarritz64

    Biarritz64 Active Member

    thank you i will try this

Share This Page