WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] WP Super Cache CDN breaks sorting/paging (8 posts)

  1. boborg
    Member
    Posted 2 years ago #

    Is it possible to run WP-Table Reloaded with WP Super Cache CDN support? When I activate CDN for wp-content, wp-includes folders the sorting/paging features are gone.

    If I remove wp-content it works but would like to do cdn on uploads inside wp-content...

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    can you give me a link to a page where this feature is broken? This might be the result of a JS problem, namely a breach of the "Same origin policy" when loading the language file.

    Thanks,
    Tobias

  3. boborg
    Member
    Posted 2 years ago #

    Hi Tobias,

    You can check http://digitalt.tv/boxerhdtvkrav/ now I have enabled CDN on wp-content.

    Could you let me know when you have looked at it so I can change back to wp-includes and have sorting/paging working again.

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    are you sure that it is activated?
    Everything is working for me right now...
    Maybe you need to clear the cache after changing the CDN options?

    Regards,
    Tobias

  5. boborg
    Member
    Posted 2 years ago #

    I have now cleared WP Super Cache and I hope you see it now?

  6. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    ah, yes, no I can see the problem, and my assumption was correct.
    WP Super Cache changes the URL of the DataTables JavaScript library's language file, and this results in that mentioned problem with the "Same origin policy". Namely, the browser can not load the file http://digitalt.speedymirror.com/wp-content/plugins/wp-table-reloaded/languages/datatables/lang-da_DK.txt while being on digitaltv.net.

    To fix this, you'll need to tell WP-Super Cache to make an exception for this URL:
    http://digitaltv.net/wp-content/plugins/wp-table-reloaded/languages/datatables/lang-da_DK.txt
    because that URL needs to be loaded from this URL, and can not be loaded from the CDN URL.

    Regards,
    Tobias

  7. boborg
    Member
    Posted 2 years ago #

    Thanks for your help.

  8. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    no problem, you are welcome!

    It works for me now, too, and the CDN seems to be used for all other things :-) Great!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic