Skip to content
Snippets Groups Projects
  1. Feb 08, 2017
    • Gerry Weißbach's avatar
      Add Event to modify the list of javascript files before they are processed.... · 6d3bebff
      Gerry Weißbach authored
      Add Event to modify the list of javascript files before they are processed. This allows plugins to not have their - or other plugins - script delivered to the client. Creating the list of files upfront might add a little overhead which I think is OK when you can be certain that only JavaScript that really is needed will be delivered to the client.
      
      Multiple Javascript requests, e.g. to only send the jQuery part or just editor/administrator scripts, could be implemented with this modification (I know, jQuery has already been split).
      6d3bebff
  2. Feb 07, 2017
  3. Feb 03, 2017
  4. Dec 12, 2016
  5. Nov 26, 2016
    • Andreas Gohr's avatar
      split off jquery from other JS and add CDN option #1766 · 61537d47
      Andreas Gohr authored
      jQuery (and UI and Migrate) are now loaded separately from the rest of
      the JavaScript. This adds at least one HTTP request more but has some
      advantages:
      
      * browsers can cache it independently
      * the cache is only invalidated when versions update
      * we do not apply any transformations (replacements, minimizing, etc) on
        this code anymore which makes our dispatcher faster for the other JS
      * browsers seem to load (not execut) both (jquery and other) parallel,
        which might increase download speed a bit
      
      This split allowed for the introduction of a new config: jquerycdn. When
      enabled the 3 jquery files are loaded from jQueries CDN. This adds
      another two HTTP requests but:
      
      * since it's another host those files do not apply to the 4 request per
        host limit and can be loaded (not executed) in paralell which might
        increase download speeds a bit
      * the CDN is distributed worldwide which means files are requested from
        the closest location, increasing the download speeds
      * since these files/CDN are very popular, chances are high that people
        already have them cached in their browsers, reducing the download time
        to 0 and effectiely halving the javascript needed to download
      
      The option currently defaults to 'off', but I would argue 'on' would be
      the better default.
      61537d47
  6. Oct 01, 2016
  7. Jun 14, 2016
  8. May 16, 2016
    • Michael Große's avatar
      Fix xmlrpc constructor for php7 · ed8e6fd5
      Michael Große authored
      In php7 constructors with the same name as the class are deprecated. __construct() should be used.
      
      Depending on the server-configuration this could result in a warning which would break the API.
      ed8e6fd5
  9. Apr 30, 2016
  10. Apr 29, 2016
  11. Apr 27, 2016
  12. Apr 18, 2016
  13. Apr 04, 2016
  14. Feb 19, 2016
  15. Jan 29, 2016
  16. Sep 08, 2015
  17. Sep 02, 2015
  18. Jul 31, 2015
  19. Jul 24, 2015
  20. Jun 15, 2015
  21. May 16, 2015
  22. May 04, 2015
  23. Mar 17, 2015
  24. Mar 03, 2015
    • Andreas Gohr's avatar
      send JavaScript with correct mimetype · 138a9500
      Andreas Gohr authored
      While Browsers (IE of course) still fail to accept the correct
      application/javascript mimetype in the type attribute of the script
      element, we should serve the scripts with the correct Content-Type
      header at least. This is especially important as the default
      configuration of mod_deflate expects application/javascript and will not
      compress text/javascript.
      138a9500
  25. Feb 04, 2015
    • Christoph Dwertmann's avatar
      Add ob_flush() to sendGIF · ea0c1427
      Christoph Dwertmann authored
      I'm running this dokuwiki docker container: https://registry.hub.docker.com/u/mprasil/dokuwiki/
      
      It uses lighttpd and fastcgi. For some reason, the ignore_user_abort() feature where the browser should close the connection after the GIF has been received is not working on lighty. The browser keeps loading the page until the indexer run is complete, which leads to extremely slow load times with a larger page index.
      
      Adding ob_flush() to sendGIF fixes the issue.
      ea0c1427
  26. Jan 12, 2015
  27. Jan 07, 2015
    • Andreas Gohr's avatar
      Remove error supression for file_exists() · 79e79377
      Andreas Gohr authored
      In an older version of PHP a file_exists() call would issue a warning
      when the file did not exist. This was fixed in later PHP releases. Since
      we require PHP 5.3 now, there's no need to supress any error here
      anymore. This might even give a minor performance boost.
      79e79377
  28. Dec 10, 2014
  29. Oct 22, 2014
  30. Oct 15, 2014
    • LarsDW223's avatar
      Fixed JavaScript compression. The compressor did not recognize a regular... · 5c5b52fd
      LarsDW223 authored
      Fixed JavaScript compression. The compressor did not recognize a regular expression after a '&&' ot '||' operator. So it could happen that code had been cut off if the regular expression included '\//' (which was treated as a single line comment because of the regular expression not being recognized). Finally fixes #897.
      5c5b52fd
  31. Oct 14, 2014
  32. Oct 11, 2014
  33. Oct 02, 2014
  34. Oct 01, 2014
  35. Sep 29, 2014
  36. Sep 28, 2014
  37. Sep 12, 2014
    • Gerry Weißbach's avatar
      Additionally allow more media types · de4634ec
      Gerry Weißbach authored
      They are generated from the default ones and any additional one given
      by the template. This allows to e.g. split admin styles from end user
      styles in a closed wiki. You can then deliver only the user styles
      using the metaheaders plugin.
      de4634ec
Loading