Roan writes:
>This is probably a ResourceLoader thing, then, not directly related to
>WikiEditor. Please try waiting 5-10 minutes for the cached version of
>the startup module (the request with &modules=startup) to expire (it
>has s-maxage=300, max-age=300), then RL should request your module
>with an updated timestamp and that should give you the new version.
>Also, verify that the filesystem timestamp of the file has changed
>after you updated it, because that's what RL uses to determine whether
>a file has changed.

Thanks. Below are the HTTP headers for the "modules=startup" load. I waited 30 
minutes after changing the JavaScript file but the change is still not 
appearing in WikiEditor, even after browser refreshes. I also confirmed that 
the file timestamp has indeed changed.  Any other ideas?

http://myhost.net/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*

GET /w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&* 
HTTP/1.1
Host: myhost.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 
Firefox/7.0.1
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: http://myhost.net/w/index.php?title=Temp:Test&action=edit&redlink=1
Cookie: autoloadapplet=1; killoptions=1; wikidb_vpw_office_id=2; 
vector-nav-p-tb=true; 
_pk_id.3.07be=89b57d07f8d247a6.1318020769.20.1319123488.1318951711.; 
edittoolscharsubset=0; wikiEditor-0-booklet-help-page=format; 
wikidb_vpw__session=i0avdgi2p9fn7g0mgosjenftq3; 
wikiEditor-0-toolbar-section=software; _pk_ses.3.07be=*
If-Modified-Since: Thu, 20 Oct 2011 14:52:51 GMT
Cache-Control: max-age=0

HTTP/1.1 200 OK
Date: Thu, 20 Oct 2011 15:14:55 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.3.3
Last-Modified: Thu, 20 Oct 2011 14:52:51 GMT
Cache-Control: public, max-age=300, s-maxage=300
Expires: Thu, 20 Oct 2011 15:19:55 GMT
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 3232
Connection: close
Content-Type: text/javascript; charset=utf-8


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to