php - How to hint the browser to display part of a html when the full page is constructing? -


in facebook canvas app, i'll show static header , banners fast, when facebook-sdk connecting authorize app/user.

if think connecting facebook api , fetching information taking time, use output control functions.

the output control functions allow control when output sent script. can useful in several different situations, if need send headers browser after script has began outputting data. output control functions not affect headers sent using header() or setcookie(), functions such echo() , data between blocks of php code.

or

if want show information before ask user authroise app, can don't ask user authorization on load. based on user action, can ask auhroization.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -