Last modified: 2010-11-01 20:56:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27573, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25573 - debug mode should not set public cache headers
debug mode should not set public cache headers
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-18 23:05 UTC by Michael Dale
Modified: 2010-11-01 20:56 UTC (History)
1 user (show)

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


Attachments

Description Michael Dale 2010-10-18 23:05:26 UTC
The resource loader debug mode should set "must revalidate" NOT something like:  Cache-Control: public, max-age=2592000, s-maxage=2592000
Comment 1 Trevor Parscal 2010-10-21 06:35:34 UTC
This is a good idea, but it needs to be only enabled on development instances, otherwise this could destroy servers quickly.
Comment 2 Roan Kattouw 2010-11-01 20:56:30 UTC
Fixed in r75827.

I don't think it's that bad to do this in production because must-revalidate doesn't mean the client will pull the resource again every time: it'll just 304.

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


Navigation
Links