CKEditor not load when Apache mod_pagespeed is enabled

Comments

Pillhuhn’s picture

I can confirm that this is also true for version 6.x-1.3. Not only the editor itself does not load but neither does the content.

There is another thread at http://drupal.org/node/1088278 that might be a duplicate.

mkesicki’s picture

3dloco’s picture

Looks like one just needs to configure mod_pagespeed to use ModPagespeedDisallow for ckeditor library files and/or module files, so on pagespeed.conf add:

ModPagespeedDisallow */sites/all/modules/wysiwyg/*
ModPagespeedDisallow */sites/all/libraries/ckeditor/*
ModPagespeedDisallow */sites/all/modules/ckeditor/*

See
http://drupal.org/node/1024316#comment-4119784
http://code.google.com/speed/page-speed/docs/restricting_urls.html
http://code.google.com/p/modpagespeed/issues/detail?id=186

This works for me :)

mkesicki’s picture

@3dloco Thanks, we will check your solution.

mkesicki’s picture

I created ticket on CKEditor tracker http://dev.ckeditor.com/ticket/7511 for this problem. It looks like CKEditor problem. For now @3dloco workaround works as temporary solution.

dczepierga’s picture

Status: Active » Postponed
dczepierga’s picture

Status: Postponed » Fixed

I fix it, now everything should work fine - pagespeed and Drupal caching system.

Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.

Greetings

Pillhuhn’s picture

This seems to work now in both Drupal 6 and Drupal 7.
Thanks for the fix!

mkesicki’s picture

Status: Fixed » Closed (fixed)