From d86cd924b36ed5625c900bd7bba818c9f91e11be Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Wed, 16 Apr 2014 13:38:01 -0400 Subject: [PATCH 1/5] respond --- doc/todo/concatenating_or_compiling_CSS.mdwn | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/todo/concatenating_or_compiling_CSS.mdwn b/doc/todo/concatenating_or_compiling_CSS.mdwn index e0715e730..b9c6234ee 100644 --- a/doc/todo/concatenating_or_compiling_CSS.mdwn +++ b/doc/todo/concatenating_or_compiling_CSS.mdwn @@ -123,3 +123,31 @@ this without that feature initially. > > -- [[Louis|spalax]] +>> One big request is more efficient than lots of small requests, +>> if we model the CSS as all changing equally infrequently. +>> In terms of bytes, each file needs some code in the HTML ``, +>> plus the HTTP request and response headers, plus the actual file. +>> On the first page-view, a visitor will have to download all the CSS anyway +>> (one request/response pair per CSS file). On subsequent page-views, there +>> will be one request/"304 Not Modified" response per CSS file, unless the +>> CSS files can be marked "to be cached forever" (which can be done if +>> they have content-based filenames). +>> +>> In terms of time, [[!wp HTTP_pipelining desc="according to Wikipedia"]] +>> browsers don't generally pipeline requests, so the page won't finish +>> loading until one round-trip time per uncached CSS file has elapsed. +>> +>> Having lots of small files with content-based filenames would be the +>> next best thing - not particularly efficient on a generic web server, +>> but they could at least be marked as "cache forever" in server +>> configuration. I'd be OK with doing that if it makes ikiwiki more +>> maintainable, but I don't think concatenating all the CSS at +>> compile time is actually going to be a problem in practice. +>> The individual small files are still going to be available +>> for the wiki operator to edit. +>> +>> If some CSS files change with a significantly different frequency, +>> *then* it might become worthwhile to separate them, but I don't +>> think that's the case (apart from possibly local.css, which is why +>> I'm not sure whether to include it in this). +>> --smcv From 60bc3259f30c280c85355f9243dfaf226d0340e3 Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Wed, 16 Apr 2014 13:40:34 -0400 Subject: [PATCH 2/5] fix Wikipedia reference --- doc/todo/concatenating_or_compiling_CSS.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/todo/concatenating_or_compiling_CSS.mdwn b/doc/todo/concatenating_or_compiling_CSS.mdwn index b9c6234ee..d73a7c921 100644 --- a/doc/todo/concatenating_or_compiling_CSS.mdwn +++ b/doc/todo/concatenating_or_compiling_CSS.mdwn @@ -133,7 +133,7 @@ this without that feature initially. >> CSS files can be marked "to be cached forever" (which can be done if >> they have content-based filenames). >> ->> In terms of time, [[!wp HTTP_pipelining desc="according to Wikipedia"]] +>> In terms of time, [[!wikipedia HTTP_pipelining desc="according to Wikipedia"]] >> browsers don't generally pipeline requests, so the page won't finish >> loading until one round-trip time per uncached CSS file has elapsed. >> From 42a5532367c212ca8145798a6133e26fc82145aa Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/tkno99#49857" Date: Wed, 16 Apr 2014 14:57:22 -0400 Subject: [PATCH 3/5] --- doc/sandbox.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 89fa9ca8e..289f9c763 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -5,7 +5,7 @@ What about [[this page]]? hello world (right back at ya) -test +test, is it being saved? > This is a blockquote. > From 9b66db47cc899496ef5920bcc2f48926f2ef918c Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlAe9oSm2pgOSLJw_RDk9wQDyo3UQfRxwg" Date: Thu, 17 Apr 2014 09:49:07 -0400 Subject: [PATCH 4/5] Added workaround for bug #738493 --- ...ld_not_determine_ID_provider_from_URL.mdwn | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn b/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn index 4b506ae5b..b81dd78cd 100644 --- a/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn +++ b/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn @@ -149,3 +149,24 @@ Workaround - disable error checking: } else { ~~~~ + +> I get the same trouble with OpenID and some locally installed versions of IkiWiki on Debian wheezy (server) as well as on 13.10 Ubuntu (laptop). To be precise I hit the *other* bug in LWP: [#738493](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738493). +> +> My only workaround for now was to fix `PERL_LWP_SSL_VERIFY_HOSTNAME` to 0 directly in `ikiwiki` :-( -- [[users/bbb]] + +~~~~ +*** /home/bruno/opt/ikiwiki/bin/ikiwiki.bad 2014-04-17 15:41:38.868972152 +0200 +--- /home/bruno/opt/ikiwiki/bin/ikiwiki 2014-04-17 15:04:56.524996905 +0200 +*************** sub main () { +*** 226,229 **** + } + } + +! main; +--- 226,229 ---- + } + } + +! $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0 ; main; +~~~~ + From 1c5d01e7e600646678c32d192ca19b21493410c9 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Fri, 18 Apr 2014 11:34:11 -0400 Subject: [PATCH 5/5] i'd like to upload SVGs please :) --- ...improve_decentralised_wikis_documentation_and_graphics.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/todo/improve_decentralised_wikis_documentation_and_graphics.mdwn diff --git a/doc/todo/improve_decentralised_wikis_documentation_and_graphics.mdwn b/doc/todo/improve_decentralised_wikis_documentation_and_graphics.mdwn new file mode 100644 index 000000000..c8bbaa157 --- /dev/null +++ b/doc/todo/improve_decentralised_wikis_documentation_and_graphics.mdwn @@ -0,0 +1,3 @@ +i'm trying to work on the decentralised wikis documentation in [[tips/distributed_wikis]] and i would like to add more / edit SVG graphics, but I can't because i'm not admin. --[[users/anarcat]] + +[[!template id=gitbranch branch=anarcat/dev/decentralised_graphics author="[[anarcat]]"]]