This is an issues-only repo for Femiwiki.
femiwiki / caddy-mwcache Goto Github PK
View Code? Open in Web Editor NEW:wrench: Caddy anonymous cache plugin for MediaWiki
License: GNU Affero General Public License v3.0
:wrench: Caddy anonymous cache plugin for MediaWiki
License: GNU Affero General Public License v3.0
wm는 위키미디어의 줄임말로 주로 위키미디어 재단과 그 사이트들(위키백과 등)에 관련된 경우에 자주 쓰는 접두사입니다. 아닌 경우는 지금 생각나는 건 wvui 정도...?
이 모듈처럼 미디어위키와 관련된 경우는 mw를 쓰는 게 더 적절해보이는데 어떨까요?
Maybe the log is:
$ curl -Lv 'https://femiwiki.com/load.php?lang=ko&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.icons-interactions%2Cindicators%7Cskins.femiwiki%7Cskins.femiwiki.xeicon%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=femiwiki'
* Trying 54.249.101.219:443...
* Connected to femiwiki.com (54.249.101.219) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=femiwiki.com
* start date: May 11 08:37:14 2021 GMT
* expire date: Aug 9 08:37:14 2021 GMT
* subjectAltName: host "femiwiki.com" matched cert's "femiwiki.com"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5573c270d580)
> GET /load.php?lang=ko&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.icons-interactions%2Cindicators%7Cskins.femiwiki%7Cskins.femiwiki.xeicon%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=femiwiki HTTP/2
> Host: femiwiki.com
> user-agent: curl/7.74.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 304
< access-control-allow-origin: *
< cache-control: public, max-age=180, s-maxage=180
< date: Tue, 15 Jun 2021 15:00:22 UTC
< etag: W/"1eg59"
< expires: Tue, 15 Jun 2021 15:03:22 GMT
< server: Caddy
< status: 304 Not Modified
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-content-type-options: nosniff
< x-frame-options: DENY
< x-powered-by: PHP/7.4.16
< x-request-id: 330165cc5c92c93d47661d88
< x-xss-protection: 1; mode=block
<
* Connection #0 to host femiwiki.com left intact
*
Running xcaddy in development mode fails due to caddyserver/xcaddy#68
$ curl -Lv 'https://femiwiki.com/load.php?lang=ko&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.icons-interactions%2Cindicators%7Cskins.femiwiki%7Cskins.femiwiki.xeicon%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=femiwiki'
* Trying 54.249.101.219:443...
* Connected to femiwiki.com (54.249.101.219) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=femiwiki.com
* start date: May 11 08:37:14 2021 GMT
* expire date: Aug 9 08:37:14 2021 GMT
* subjectAltName: host "femiwiki.com" matched cert's "femiwiki.com"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55852be38580)
> GET /load.php?lang=ko&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.icons-interactions%2Cindicators%7Cskins.femiwiki%7Cskins.femiwiki.xeicon%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=femiwiki HTTP/2
> Host: femiwiki.com
> user-agent: curl/7.74.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 200
< access-control-allow-origin: *
< cache-control: public, max-age=180, s-maxage=180
< content-encoding: gzip
< content-type: text/css; charset=utf-8
< date: Sun, 30 May 2021 12:07:31 UTC
< etag: W/"1p7us"
< expires: Sun, 30 May 2021 12:10:31 GMT
< server: Caddy
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< vary: Accept-Encoding
< x-content-type-options: nosniff
< x-content-type-options: nosniff
< x-frame-options: DENY
< x-powered-by: PHP/7.4.16
< x-request-id: cd50e38d6fa20da491180ec2
< x-xss-protection: 1; mode=block
<
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* stopped the pause stream!
* Connection #0 to host femiwiki.com left intact
Originally reported at femiwiki/femiwiki#265
Now using default options[1] with in-memory mode.
1: https://github.com/dgraph-io/badger/blob/v3.2011.1/options.go#L113
Ristretto is the current default backend, but it is not a stable version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.