Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache optimization tips

Discussion in 'Workarounds and Optimization' started by rblue16, Aug 7, 2014.

  1. rblue16

    rblue16 Member

    Joined:
    Aug 5, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    We have a web app that requests tons of media and audio files. We are trying to improve the performance on the client-side, but we haven't been able yet.
    I have enabled mod_expires but it seems that the files aren't being cached by the browser because they are being requested through Ajax calls.
    Is there anything else we can do to improve performance?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. rblue16

    rblue16 Member

    Joined:
    Aug 5, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Thank you, mod_expires is indeed working.

    Are you aware if it works under Ajax calls? It seems to work fine on regular http calls, but not under Ajax calls which is very strange.
     
Loading...

Share This Page