[pydotorg-www] Access to www.python.org without going through the cache

2014-06-02 Thread M.-A. Lemburg
When editing pages on the python.org website, it is very difficult to tell whether edits are correct or not, since it takes ages for the caches to receive the updates from the Django CMS. Is there a way, perhaps a special URL, to directly access the backend system without going through Fastly ?

Re: [pydotorg-www] Access to www.python.org without going through the cache

2014-06-02 Thread anatoly techtonik
On Mon, Jun 2, 2014 at 11:55 AM, M.-A. Lemburg m...@python.org wrote: When editing pages on the python.org website, it is very difficult to tell whether edits are correct or not, since it takes ages for the caches to receive the updates from the Django CMS. Is there a way, perhaps a special

Re: [pydotorg-www] [Infrastructure] Access to www.python.org without going through the cache

2014-06-02 Thread M.-A. Lemburg
On 02.06.2014 12:48, Donald Stufft wrote: It’s kind of a kludge, but just add a parameter to the URL, like ?foo=12332131 the full URL is used as part of the cache key. Thanks, this does work, but it would still be better to have a domain which can be used for testing the edits immediately and

Re: [pydotorg-www] [Infrastructure] Access to www.python.org without going through the cache

2014-06-02 Thread Donald Stufft
A better solution still would be to use the purge API so that editing a page purges the cached copy of the page and the update is available to everyone immediately. This is what PyPI does to allow Fastly to cache things for 1 day but still have near instant availability of new package uploads and

Re: [pydotorg-www] [Infrastructure] Access to www.python.org without going through the cache

2014-06-02 Thread M.-A. Lemburg
On 02.06.2014 13:52, Donald Stufft wrote: A better solution still would be to use the purge API so that editing a page purges the cached copy of the page and the update is available to everyone immediately. This is what PyPI does to allow Fastly to cache things for 1 day but still have near

Re: [pydotorg-www] [Infrastructure] Access to www.python.org without going through the cache

2014-06-02 Thread Donald Stufft
Oh another handy thing, anyone can purge a single URL from the Fastly cache, it doesn’t require authentication. curl -X PURGE https://www.python.org/whatever/ On Jun 2, 2014, at 7:59 AM, M.-A. Lemburg m...@python.org wrote: On 02.06.2014 13:52, Donald Stufft wrote: A better solution still

Re: [pydotorg-www] Vandalism/spam on wiki.python.org: changes to default permissions

2014-06-02 Thread M.-A. Lemburg
On 01.06.2014 05:48, Barry Warsaw wrote: On May 31, 2014, at 10:49 PM, M.-A. Lemburg wrote: I've added a new user group called NewUsersGroup, which does get editing rights, but we'll have to manage this manually and new users who want to receive editing rights will have to write to this