- Aug 01, 2017
-
-
Gerry Weißbach authored
-
Gerry Weißbach authored
-
- Mar 13, 2017
-
-
Gerry Weißbach authored
This is important because the $cache->cache would have been set already and have no impact on the delivered result. Meaning: two different requests could have resulted in the same result.
-
- Feb 22, 2017
-
-
Gerry Weißbach authored
-
Gerry Weißbach authored
Remove the flavour feature. It was some kind of a hassle. If you really want to filter out styles, you have to write a plugin either way and implement the tpl metaheaders event as well and handle everything your self. The CSS modification is more like the JS_SCRIPT_LIST now. It adds some overhead, but not too much. It still gives great flexibility over the CSS.
-
- Feb 12, 2017
-
-
Gerry Weißbach authored
-
- Feb 10, 2017
-
-
Gerry Weißbach authored
-
Gerry Weißbach authored
-
Gerry Weißbach authored
-
Gerry Weißbach authored
Changed the cache initialisation: it does not use the list of files with an md5 (due to redundancy and time consumption) but the flavour and the type (previously removed).
-
- Feb 09, 2017
-
-
Gerry Weißbach authored
Use the flavour system to create individual css files. Only the default flavour (style / style.ini) will have the default styles for interwiki and filetypes. There are two new events: 1. CSS_STYLES_INCLUDED to modify the list of stylesheet files for a certain mediatype or prevent the mediatype or styles within it. This event is fired for the interwiki and filetypes too, to prevent that they are included * The Data that is being sent to the event contains: list of files or the keyword DW_DEFAULT for the interwiki / filetypes; the mediatype, the flavour, if the data should be encapsulated by a default @media and the encapsualation prefix (e.g. @media screen) 2. CSS_CACHE_USE to prevent the use of a cached version of the CSS, just like the JS event that already exists.
-
Gerry Weißbach authored
Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + replacements from there. If the flavour is not the default one (style.ini), replacements are loaded from the default flavour first to ensure that the colours are available. Flavours can define their own set of replacements.
-
Gerry Weißbach authored
Remove type and caching mechanism. The cache will be checked later and the type will be replaced by an md5 hash of the list of style files.
-
- Feb 07, 2017
-
-
Andreas Gohr authored
-
- Feb 03, 2017
-
-
Andreas Gohr authored
-
- Dec 12, 2016
-
-
Andreas Gohr authored
-
- Nov 26, 2016
-
-
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.
-
- Oct 01, 2016
-
-
Florian Rathgeber authored
-
- Jun 14, 2016
-
-
Anders Sandblad authored
-
- May 16, 2016
-
-
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.
-
- Apr 30, 2016
-
-
Gerrit Uitslag authored
Prevents overwriting already added stuff. #1327
-
- Apr 29, 2016
-
-
Gerrit Uitslag authored
-
- Apr 27, 2016
-
-
Gerrit Uitslag authored
-
- Apr 18, 2016
-
-
Anika Henke authored
-
- Apr 04, 2016
-
-
lisps authored
restoring of mediafiles failed
-
- Feb 19, 2016
-
-
Andreas Gohr authored
-
- Jan 29, 2016
-
-
Andreas Gohr authored
-
- Sep 08, 2015
-
-
Marius van Witzenburg authored
-
Marius van Witzenburg authored
-
- Sep 02, 2015
-
-
Marius van Witzenburg authored
-
- Jul 31, 2015
-
-
Anika Henke authored
use conf/tpl/<template-folder-name>/style.ini instead
-
Andreas Gohr authored
-
- Jul 24, 2015
-
-
Andreas Gohr authored
This reverts commit de4634ec.
-
- Jun 15, 2015
-
-
Gerrit Uitslag authored
-
- May 16, 2015
-
-
Andreas Gohr authored
-
- May 04, 2015
-
-
Anika Henke authored
-
- Mar 17, 2015
-
-
Christoph Dwertmann authored
-
- Mar 03, 2015
-
-
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.
-
- Feb 04, 2015
-
-
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.
-
- Jan 12, 2015
-
-
Rainbow Spike authored
1 little fix
-