| | 11 | |
| | 12 | '''Content caching:''' |
| | 13 | |
| | 14 | In order to avoid extra http calls each time when i.e. users switch to source and back to wysiwyg mode, we should cache results from noembed service.[[BR]] |
| | 15 | Additionally in {{{default}}} output mode we already have markup defined, so we even don't have to fetch it from noembed (ofc assuming that end-user did not changed it himself). Therefore we use that markup instead of calling noembed.[[BR]] |
| | 16 | ''Refetching content'' from noembed will occur if innerhtml of oembed wrapper was stripped, so for instance, user left following code: |
| | 17 | {{{ |
| | 18 | <div data-oembed-url="https://twitter.com/ckeditor/status/425619710181650432"></div> |
| | 19 | }}} |