CloudFare Test: Difference between revisions

From Lojban
Jump to navigation Jump to search
(edit #3.)
(hmm, #4)
Line 38: Line 38:


Saving edit #3...
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 cached.  RLP's rules are:
<nowiki>
*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
</nowiki>
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...

Revision as of 03:54, 7 February 2020

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 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...