too much json

Home Forums Calendar Products Events Calendar PRO too much json

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1470233
    Shelly
    Participant

    In line 167 of abstract, you have this code:
    168 if ( ! empty( $data ) ) {
    169 $html[] = ”;
    170 $html[] = str_replace( ‘\/’, ‘/’, json_encode( $data ) );
    171 $html[] = ”;
    172 }

    This generates ~700k of json on my page, which makes it too big for serving on a reasonably active server. Without this, my calendar page is only 300k.

    Why do you do this, and can I turn it off?

    #1471058
    Sky
    Keymaster

    Hi Shelley,

    Thanks for reaching out to us! I will try to help with your issue.

    Do you have a link to where you are seeing this JSON being output? Please provide line numbers for where on the page it starts as well.

    Thanks!
    Sky

    #1490760
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘too much json’ is closed to new replies.