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.
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
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘too much json’ is closed to new replies.