Jump to content
MDDHosting Forums

bmalen

Members
  • Posts

    1
  • Joined

  • Last visited

bmalen's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I enabled "Aggregate JavaScript files" in my Drupal 7 website but this produced a problem with javascript. I checked the HTTP response of one of the javascript files and it appeared that it was getting compressed twice: Content-Encoding: gzip Content-Type: application/x-gzip So I guess Drupal is compressing the file then LiteSpeed is compressing it again. I edited my .htaccess (generated by Drupal) and commented everything under "Rules to correctly serve gzip compressed CSS and JS files." This seemed to fix things. I checked the HTTP response again, all looks good: Content-Encoding: gzip Content-Type: application/javascript This is as much as I could find on the issue http://drupal.org/node/986558 I am no expert on this issue and I can't find any clear instructions, so I am not sure if what I did is the "correct" way to fix the problem. If anyone else is running Drupal on LiteSpeed and has come across this issue, I would appreciate your feedback.
×
×
  • Create New...