This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#2574 Timeout in JavaScript compression
CSS, XHTML, JS, Browsers
2012-08-02Michitux
Already two users have reported problems with timeouts in lib/exe/js.php in the compression function, one in the German forum (https://forum.dokuwiki.org/thread/8610) and one in the IRC channel (http://irc.dokuwiki.org/index.php?d=2012-08-02#msg404536). I'm wondering if this because of an infinite loop or if compressing the jQuery code just takes too long. I asked the user in the forum for a copy of the output of lib/exe/js.php and replaced the jQuery code by the minified versions but I couldn't reproduce the problem so I think either there is no bug and it just takes too long or the problem is system specific.
Maybe we could exclude the already minified jQuery code from the compression in order to speedup the compression?
2012-08-05andi
Skipping the minified versions isn't so simple because we compress the whole output. One idea we cam up with would be wrapping the minified versions in special comments like /* COMPRESSED START */ /* COMPRESSED END */ and adjust our compressor to skip char based compression for everything between these lines. This should speed up our compressor with minimal changes in how the whole process works.