adding iframe to query by cache and realtime simultaneously