https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12904
--- Comment #114 from Marcel de Rooy <[email protected]> --- (In reply to Jonathan Druart from comment #113) > Could anyone explain (again) why we choose to append the version to the > filename and not in parameter? > > So basically why: > /my/file_[% KOHA_VERSION %].js > and not: > /my/file.js?version=[% KOHA_VERSION %] > > Kyle and Martin talked about the two approaches earlier in comments (from > comment 4) but I do not understand. Please clarify. > > It could avoid the rewrite rules. >From one of the linked sources: === But which is better: mylogo.1.2.gif or mylogo.gif?v=1.2? To gain the benefit of caching by popular proxies, avoid revving with a querystring and instead rev the filename itself. === I am not sure if passing a version as parameter in a script URL would be good practice. It seems quite uncommon, but I may be wrong? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
