[TYPO3-ect] xajax: page is being generated - error
Elmar Hinz
elmar07 at googlemail.com
Mon Sep 10 09:50:24 CEST 2007
Franz Holzinger wrote:
> Hello Georg,
>
>> no attachments in mailinglists and xajax doesnt work with cached
>> things.... use every other javascript lib which is far better, mootools,
>> whatever
>
> the message 'page is being generated' IMHO does not appear with cached
> sites. The page is not cached. It appears when the submit button is
> pressed very often in a short time. This leads to a popup error window
> at the moment.
>
> - Franz
Hello,
ajax is typically used to call dynamic content. Probably it should not be
used with the no_cache parameter, but as a USER_INT or maybe with eID
technique.
# The ajax response
efaqAjaxResponse = PAGE
efaqAjaxResponse.typeNum = {$plugins.efaq.ajaxPageType}
efaqAjaxResponse.config.disableAllHeaderCode = true
efaqAjaxResponse.50 = USER_INT
efaqAjaxResponse.50 {
userFunc = tx_efaq_controllers_xajax->main
configurations < temp.tx_efaq.configurations
}
-- Is there a performance difference between USER_INT and no_cache, if
there is nothing to cache at all, because the whole page output is
dynamic? --
However, I can't trigger this error message by repeated calls on my sites.
What may be the difference?
For instance I have build in a short sleep() loop build in. I did this, to
get a minimum of time to display the spinner image instead of just
presenting a short flickering. Maybe this sleep() loop also prevents the
effect of repeated reloads. I am not sure.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list