Sergiu Dumitriu schrieb:
Jan Kurella wrote:
Short Summary:
Problem: Browser took over 30 seconds to load almost every page.
Sometimes only few pages took that time - not possible to find any pattern.
Precisely: loading of some css-files took 30 seconds to load
Solution: Browser Firefox with Plugin Fasterfox. All Settings above
"Moderat" that means, "optimized" and "Turbo" caused that
problem.
Going Deeper in the settings it means, that the Option
Pipelining>Activate Pipelining caused the problem. Can't see why
pipelining slowing down the J2EE-Server to timeout - but who knows?
Deactivating pipelining, solved the problem finally. Hope that helps you
finding the problem. Pipelining should not lead to 30s load of 14kB
css-files.
Jan
Thanks, at least now we know that XWiki (or tomcat?) doesn't work well
with pipelining.
And this touches another problem, CSS files should have a cache policy
so that they aren't transfered for each request.
Sergiu.
It was not Tomcat, it was SunAppServer (Glassfish). I already
encountered the problem, that files that are not loaded directly but via
Servlets aren't cached properly or at least cached as expected but
reloaded more often than necessary.
So one solution that I suggest is not to load through
ip.adresse/xwiki/bin/skin/skins/albatross/fullscreenEdit.css
but instead directly with
ip.adresse/xwiki/skins/albatross/fullscreenEdit.css
That could help browser to enhance their caching possibilities and will
be extremly faster (factor 10) per file.
--
------------------------------------------------------------------------
Jan Kurella
*SATIS INFORMATION GmbH*
Consultant
* Köpenicker Straße 73
10179 Berlin *
Tel: +49(30)430 77 66-2 Mobil: +49(174)770 3667
Fax: +49(30)430 77 66-3 E-Mail: jan.kurella(a)satis-information.de
<mailto:j.kurella@satis-information.com>
------------------------------------------------------------------------
*Firma:* SATIS INFORMATION GmbH
*Sitz der Gesellschaft: *Petershagen/Eggersdorf
*Geschäftsführer und Gesellschafter:* Heiko Scherpinski
*Handelsregister : *Amtsgericht Frankfurt (Oder)- HRB 9989
------------------------------------------------------------------------
Diese E-Mail und alle Anhänge können vertrauliche und/oder rechtlich
geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich an Sie gesendet wurde, informieren Sie
bitte sofort den Absender und vernichten Sie diese E-Mail. Das
unerlaubte Kopieren, Speichern und Nutzen der Inhalte sowie die
unbefugte Weitergaben dieser E-Mail ist nicht gestattet.
This e-mail and any attachment is for authorized use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.