Task #8169 (new)
Opened 12 years ago
Last modified 8 years ago
Caching javascripts in $.getScript()
Reported by: | atarkowska | Owned by: | cneves |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | web-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Be default, $.getScript() sets the cache setting to false. This appends a timestamped query parameter to the request URL to ensure that the browser downloads the script each time it is requested.
Currently we cant override this feature by setting the cache property globally using $.ajaxSettings because in omero_image.html we have this set to false to support thumbnail updates.
$(document).ready(function () { $.ajaxSettings.cache = false; });
Perhaps we want some places to set caching to true like:
http://localhost:8080/static/3rdparty/jquery.blockUI.js?_=1330524852638
Change History (12)
comment:1 Changed 12 years ago by atarkowska
- Component changed from General to Web
comment:2 Changed 12 years ago by jburel
- Sprint changed from 2012-03-13 (10) to 2012-03-27 (11)
comment:3 Changed 12 years ago by jburel
- Sprint changed from 2012-03-27 (11) to 2012-04-10 (12)
Moved from sprint 2012-03-27 (11)
comment:4 Changed 12 years ago by jburel
- Sprint changed from 2012-04-10 (12) to 2012-04-24 (13)
Moved from sprint 2012-04-10 (12)
comment:5 Changed 12 years ago by jburel
- Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)
Moved from sprint 2012-04-24 (13)
comment:6 Changed 12 years ago by jburel
- Sprint changed from 2012-05-08 (14) to 2012-05-22 (15)
Moved from sprint 2012-05-08 (14)
comment:7 Changed 12 years ago by jburel
- Sprint changed from 2012-05-22 (15) to 2012-06-05 (16)
Moved from sprint 2012-05-22 (15)
comment:8 Changed 12 years ago by jburel
- Sprint changed from 2012-06-05 (16) to 2012-06-19 (17)
Moved from sprint 2012-06-05 (16)
comment:9 Changed 12 years ago by jburel
- Sprint changed from 2012-06-19 (17) to 2012-07-03 (18)
Moved from sprint 2012-06-19 (17)
comment:10 Changed 12 years ago by jburel
- Sprint changed from 2012-07-03 (18) to 2012-07-17 (19)
Moved from sprint 2012-07-03 (18)
comment:11 Changed 12 years ago by cneves
- Milestone changed from OMERO-4.4 to OMERO-4.5
- Sprint 2012-07-17 (19) deleted
comment:12 Changed 8 years ago by jamoore
- Milestone changed from 5.x to Unscheduled
Moved from sprint 2012-03-13 (10)