[mb-bugs] [jira] Created: (MBS-3851) text.js is not cached
Brian Schweitzer (JIRA)
jira-admin at musicbrainz.org
Mon Nov 28 22:03:08 UTC 2011
text.js is not cached
Project: MusicBrainz Server
Issue Type: Improvement
Affects Versions: Bug fixes, 2011-11-21
Reporter: Brian Schweitzer
http://musicbrainz.org/text.js is set by headers to not be cached. All of the scripts that use it, however, are. I'm guessing it's because text_strings.tt is in musicbrainz-server/root/scripts rather than musicbrainz-server/root/static/scripts. It's a small file, but it adds an extra get request to every single page. It would seem that the server could be configured to set caching for that file equivalent in expiration/etc to the scripts that use it, which would slightly improve page load times for every page on the site by eliminating 99.99% of those get requests.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tickets.musicbrainz.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the MusicBrainz-bugs