CloudFare Test
first edit
The purpose of this page is to see if I can bypass the Cloudflare using the ampersand trick.
Since this is a wiki I will actually record what I am doing.
I started with this URL: https://mw.lojban.org/index.php?title=CacheTestingPage&setlang=en
And got the usual "There is currently no text in this page. You can search for this page title in other pages, search the related logs, or create this page."
I clicked on "create this page" and here I am. The new URL is
https://mw.lojban.org/index.php?title=CacheTestingPage&action=edit
... without the &setlang=en query string variable.
Okay time to Save page...
second edit
Okay I saved the page but I stupidly forgot to look at the URL before clicking Edit but right now the URL is again
https://mw.lojban.org/index.php?title=CacheTestingPage&action=edit
Saving...
third edit
Okay, saving the page redirected me to
https://mw.lojban.org/papri/CacheTestingPage
... which is the "pretty" URL and NOT index + query string
And, as expected, the displayed page is a cache of the first edit. Sorry, no dice.
This confirms what I was trying to say. If there is a way to stop the redirecting to the "pretty" URL then I would expect the trick to work. But I don't know how to do that right now.
Saving edit #3...
fourth edit
Starting a second round of tests. Reason: I don't understand why index.php?title=such_and_such is NOT cached, which makes me doubt that it is NOT cached. RLP's rules are:
*lojban.org/*&* Cache Level: Bypass *lojban.org/*edit* Cache Level: Bypass *lojban.org/*Special:* Cache Level: Bypass *lojban.org/*Talk:* Cache Level: Bypass *lojban.org/* Browser Cache TTL: 30 minutes, Always Online: On, Cache Level: Cache Everything, Edge Cache TTL: 2 hours, Origin Cache Control: Off
Why on earth would
https://mw.lojban.org/index.php?title=CacheTestingPage
not be cached? there is no & in that URL, and doesn't match any filtered pattern that I can see.
Okay, let me see if it really isn't cached. Saving...
fifth edit
Okay I have verified after fourth save that:
https://mw.lojban.org/index.php?title=CacheTestingPage - bypasses cached / is not cached https://mw.lojban.org/papri/CacheTestingPage - does not bypass cached / is cached
Why?? I don't know.
Saving...
sixth edit
Turns out I was WRONG. The last edit had predicted behavior.
https://mw.lojban.org/index.php?title=CacheTestingPage does NOT bypass cache.
I don't know why it appeared to bypass the cache earlier. Must have been lucky timing (?).
I don't really get this. Saving...