Last modified: 2014-02-12 23:40:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 24201 - Send Expire and other cache-related headers in static file responses of Planet Wikimedia
Send Expire and other cache-related headers in static file responses of Plane...
Status: NEW
Product: Wikimedia
Classification: Unclassified
Planet (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-01 04:44 UTC by Liangent
Modified: 2014-02-12 23:40 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2010-07-01 04:44:05 UTC
Because we know when they will be updated.
Comment 1 Daniel Zahn 2013-03-09 02:29:27 UTC
still current nowadays with new planet software?
Comment 2 Liangent 2013-03-09 09:00:21 UTC
(In reply to comment #1)
> still current nowadays with new planet software?

Yes it's still valid.

An example of current headers:

HTTP/1.1 200 OK
Date: Sat, 09 Mar 2013 08:58:56 GMT
Server: Apache/2.2.22 (Ubuntu)
Last-Modified: Sat, 09 Mar 2013 08:00:40 GMT
Etag: "29c4b-444d7-4d77955f55a00"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
Comment 3 Daniel Zahn 2013-10-04 09:56:11 UTC
I have added puppet code that loads mod_expires on the webserver that runs planet as a prerequisite. https://gerrit.wikimedia.org/r/#/c/87523/ 

(Somebody) feel like suggesting a specific change that uses it, along the lines of:

ExpiresActive On
..
<FilesMatch ..
..
ExpiresDefault .. 

?

That would be in repo operations/puppet in templates/apache/sites/planet-language.erb

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links