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

Custom CSS files do not include cache buster

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: 4.7.18
    • Component/s: Core CiviCRM
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      CSS and Javascript files will include a cache busting string appended to the query string. However, custom CSS files will not, which leads to the case where a new release will fetch the latest CSS files for all others except the custom CSS file.

      The appending of the cache buster string to the CSS URL could also be improved since it always appends ?'r=<cache-buster>' regardless of whether the URL already has a query string or not.

      This could be solved by improving the URL generation and also applying it to CSS files.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael Michael Devery
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified