Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-875

civicrm/js/lang/calendar-lang.php should set Cache-Control

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Labels:
      None

      Description

      Version 1.4 using a chunk of JavaScript ot generate its localized calendar strings, and I am seeing noticeable hang time while it downloads. There is no reason to do this, and the fix is easy: adding a Cache-Control header that makes the page cache for an hour (you're not changing your localization more often than that, I don't think ) really speeds things up on my test host at http://beta.torenware.com.

      Patch in enclosed.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              torenware Rob Thorne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: