Project

General

Profile

Actions

Defect #24617

closed

Browser js/css cache remains after upgrade

Added by Hiroshi Shirosaki over 7 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Browser js/css cache remains after Redmine application upgrade.

Asset path parameter like "?1481777729" is not added with Rails 4.2.
Adding asset id parameters like old Rails 3 would solve the issue.

<script src="/redmine/javascripts/application.js?1481777729"></script>

Attached patch is based on:
http://apidock.com/rails/ActionView/Helpers/AssetTagHelper/rails_asset_id

Redmine version is 3.3.1.devel.


Files


Related issues

Related to Redmine - Defect #29625: application.css imported by themes not covered by cache control versioningNew

Actions
Actions

Also available in: Atom PDF