Commit graph

5113 commits

Author SHA1 Message Date
Translation System
37f3f3c76d Commit from LuCI Translation Portal by user jow.: 779 of 812 messages translated (0 fuzzy). 2012-01-30 12:54:28 +00:00
Translation System
559d15050c Commit from LuCI Translation Portal by user jow.: 5 of 5 messages translated (0 fuzzy). 2012-01-30 12:52:57 +00:00
Translation System
a0ab40cb95 Commit from LuCI Translation Portal by user jow.: 141 of 177 messages translated (0 fuzzy). 2012-01-30 12:52:54 +00:00
Translation System
1d8dc3a04f Commit from LuCI Translation Portal by user jow.: 13 of 59 messages translated (0 fuzzy). 2012-01-30 12:52:49 +00:00
Translation System
dd93622156 Commit from LuCI Translation Portal by user jow.: 3 of 32 messages translated (0 fuzzy). 2012-01-30 12:52:48 +00:00
Translation System
a5a472ab64 Commit from LuCI Translation Portal by user jow.: 25 of 27 messages translated (0 fuzzy). 2012-01-30 12:52:44 +00:00
Translation System
d29f8bff89 Commit from LuCI Translation Portal by user jow.: 18 of 171 messages translated (130 fuzzy). 2012-01-30 12:52:37 +00:00
Translation System
57a913be70 Commit from LuCI Translation Portal by user jow.: 671 of 812 messages translated (0 fuzzy). 2012-01-30 12:52:36 +00:00
Translation System
98c1040d8a Commit from LuCI Translation Portal by user jow.: 37 of 222 messages translated (1 fuzzy). 2012-01-30 12:52:35 +00:00
Jo-Philipp Wich
54d786d1b2 po: sync base translations 2012-01-24 21:02:45 +00:00
Jo-Philipp Wich
639f58d404 modules/admin-full: add client_cert option in wifi configuration 2012-01-24 20:57:54 +00:00
Translation System
0e53f91706 Commit from LuCI Translation Portal by user jow.: 17 of 32 messages translated (0 fuzzy). 2012-01-22 20:27:34 +00:00
Translation System
1a0964d840 Commit from LuCI Translation Portal by user jow.: 38 of 223 messages translated (0 fuzzy). 2012-01-22 20:23:18 +00:00
Translation System
de4e9850b9 Commit from LuCI Translation Portal by user jow.: 21 of 21 messages translated (0 fuzzy). 2012-01-15 17:54:05 +00:00
Translation System
5225e718d4 Commit from LuCI Translation Portal by user jow.: 14 of 222 messages translated (0 fuzzy). 2012-01-15 17:54:03 +00:00
Translation System
320d5c53ee Commit from LuCI Translation Portal by user jow.: 4 of 4 messages translated (0 fuzzy). 2012-01-15 17:50:14 +00:00
Translation System
ba931dcada Commit from LuCI Translation Portal by user jow.: 2 of 2 messages translated (0 fuzzy). 2012-01-15 17:50:13 +00:00
Translation System
155ba2ed9d Commit from LuCI Translation Portal by user jow.: 9 of 9 messages translated (0 fuzzy). 2012-01-15 17:50:04 +00:00
Translation System
8a8c6323a3 Commit from LuCI Translation Portal by user jow.: 9 of 9 messages translated (0 fuzzy). 2012-01-15 17:50:03 +00:00
Translation System
4416b491ec Commit from LuCI Translation Portal by user jow.: 175 of 179 messages translated (0 fuzzy). 2012-01-15 17:50:02 +00:00
Translation System
9eb936973c Commit from LuCI Translation Portal by user jow.: 1 of 156 messages translated (0 fuzzy). 2012-01-15 17:50:01 +00:00
Translation System
9f6a53058d Commit from LuCI Translation Portal by user jow.: 42 of 42 messages translated (0 fuzzy). 2012-01-15 17:49:55 +00:00
Translation System
3ef0d08ee5 Commit from LuCI Translation Portal by user jow.: 812 of 812 messages translated (0 fuzzy). 2012-01-15 17:49:52 +00:00
Translation System
9e6bfe4a36 Commit from LuCI Translation Portal by user jow.: 29 of 29 messages translated (0 fuzzy). 2012-01-15 17:49:50 +00:00
Translation System
1045c9eb69 Commit from LuCI Translation Portal by user jow.: 142 of 177 messages translated (0 fuzzy). 2012-01-12 12:23:55 +00:00
Translation System
88280ddecf Commit from LuCI Translation Portal by user jow.: 97 of 154 messages translated (0 fuzzy). 2012-01-12 12:23:45 +00:00
Translation System
dfce337b33 Commit from LuCI Translation Portal by user jow.: 812 of 812 messages translated (0 fuzzy). 2012-01-12 12:23:41 +00:00
Translation System
b4ae090da9 Commit from LuCI Translation Portal by user jow.: 29 of 29 messages translated (0 fuzzy). 2012-01-12 12:23:38 +00:00
Jo-Philipp Wich
4bf31a8792 modules/admin-full: redirect init script output in startup model actions 2012-01-12 12:15:21 +00:00
Patrick Grimm
7db300b5e6 Freifunk: Fix html typo 2012-01-10 17:37:49 +00:00
Jo-Philipp Wich
3ee2fcccca applications/luci-firewall: fix some datatype sepcifications after r8156 2012-01-09 05:48:27 +00:00
Translation System
15846f9124 Commit from LuCI Translation Portal by user jow.: 42 of 42 messages translated (0 fuzzy). 2012-01-09 01:33:08 +00:00
Translation System
aa68c4386d Commit from LuCI Translation Portal by user jow.: 20 of 20 messages translated (0 fuzzy). 2012-01-09 01:33:05 +00:00
Translation System
ba4f5b7a7b Commit from LuCI Translation Portal by user jow.: 8 of 12 messages translated (1 fuzzy). 2012-01-09 01:32:58 +00:00
Translation System
588aa925df Commit from LuCI Translation Portal by user jow.: 24 of 154 messages translated (0 fuzzy). 2012-01-09 01:32:54 +00:00
Translation System
d71baa8cfb Commit from LuCI Translation Portal by user jow.: 21 of 21 messages translated (0 fuzzy). 2012-01-09 01:32:51 +00:00
Translation System
19bedf1d96 Commit from LuCI Translation Portal by user jow.: 341 of 812 messages translated (0 fuzzy). 2012-01-09 01:32:49 +00:00
Translation System
0fbecc0eb3 Commit from LuCI Translation Portal by user jow.: 18 of 222 messages translated (0 fuzzy). 2012-01-09 01:32:48 +00:00
Translation System
a647fff84e Commit from LuCI Translation Portal by user jow.: 66 of 154 messages translated (0 fuzzy). 2012-01-09 01:31:50 +00:00
Translation System
deccd2c661 Commit from LuCI Translation Portal by user jow.: 10 of 222 messages translated (0 fuzzy). 2012-01-09 01:29:19 +00:00
Jo-Philipp Wich
001e15a0db [PATCH] Explicit Cache-Control for lucid.http static content
The Chrome web browser revalidates every resource if no explicit Cache-Control or Expires HTTP/1.1 header is sent. This makes the page loads appear to take a long time on pages with a few external resources, adding 300-500ms 
per item. This includes the XHR json responses that set page images, like wireless signal indicators and the like-- the images are revalidated on every XHR response. As an example, the Network -> Interfaces page generates 16 
requests to the lucid http server:

    Main HTML
    cascade.css
    xhr.js
    tabbg.png
    cbi.js
    loading.gif
    ethernet_disabled.png
    reload.png
    reset.gif
    edit.gif
    remove.gif
    add.gif
    bridge.png
    vlan.png
    wifi.png
    iface_status 

Of those, 14 should be pulled from cache but they are all valdiated. The lucid server returns the correct 304 (Not Modified) responses but it delays the apparent page load time because of the backlog it creates at the http 
server.

I would suggest setting explicit cache control on all files returned by the lucid http directory dispatcher. The "Expires" header is reportedly more widely supported, however this relies on the clock on the OpenWrt? system 
being accurate, which may not be the case. The "Cache-Control: max-age=" allows the server to set a timeout in seconds. I've included a patch that sets revalidate interval to 1 year, which is the value recommended by google.
Reference:  http://code.google.com/speed/page-speed/docs/caching.html

Note this could create an issue if there are luci application which are generating files which change that are being served by the lucid http DirectoryPublisher?. I'm not sure if there is anyone doing that. If needed, this can 
probably be created as an option to the DirectoryPublisher? config stanza for each vhost.

Finally, this only affects the Google Chrome browser, as both IE9 and Firefox seem to have their own revalidation interval in the absence of explicit cache control which may be based on the last modified time of the resource. 
Even in Chrome, this change doesn't take effect until the item is re-served with a 200 HTTP response so Chrome's cache should be cleared after this patch is applied. The patch can be extended to include cache control on 304 
responses, but I'd not worry about cluttering the code with it because the problem will solve itself once chrome redownloads the resource.
2012-01-09 00:04:54 +00:00
Jo-Philipp Wich
a4996261ea libs/web: remove debugging code 2012-01-08 23:39:29 +00:00
Jo-Philipp Wich
875baa244a libs/web: allow zero-length string literals when parsing datatypes 2012-01-08 23:36:35 +00:00
Jo-Philipp Wich
9fcdf0fe81 libs/web: introduce recursive expression support for datatypes, introduce "or" and "and" datatypes
The commit adds a recursive parser for datatype expressions which allows nesting of validators,
this allows for complex expressions like  "list(or(range(0,65535),'infinite'))" to allow a list of
values which are either integers between 0 and 65535 or the literal string "inifinite".
That change also deprecates combined datatypes like "ipaddr" ["or(ip4addr,ip6addr)"] or
"host" ["or(hostname,ip4addr,ip6addr)"]
2012-01-08 23:33:47 +00:00
Jo-Philipp Wich
3812f29087 libs/web: remove neg_ipaddr, neg_ip4addr and neg_network_ip4addr datatypes, can be represented with neg(type) 2012-01-07 22:06:02 +00:00
Jo-Philipp Wich
e4dc649e82 applications/luci-firewall: fix datatype validation for masq src/dest; allow list of negated ucinames, hostnames, ip-ranges or -addresses 2012-01-07 21:55:52 +00:00
Jo-Philipp Wich
c043db6518 modules/admin-full: set password of logged in user instead of unconditionally using root, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> 2012-01-06 16:42:02 +00:00
Jo-Philipp Wich
1e0e458ff3 modules/admin-full: fix wireless interface removal if not network was assigned to the iface, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> 2012-01-06 16:28:54 +00:00
Translation System
862176ee07 Commit from LuCI Translation Portal by user jow.: 74 of 154 messages translated (0 fuzzy). 2012-01-06 13:32:48 +00:00
Translation System
82dd97b79d Commit from LuCI Translation Portal by user jow.: 6 of 812 messages translated (0 fuzzy). 2012-01-06 13:32:45 +00:00