Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-3851

text.js is not cached

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: Bug fixes, 2011-11-21
    • Fix Version/s: None
    • Component/s: Admin, JavaScript, Scripts
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              brianfreud Brian Schweitzer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package