Solve CSS/JS unwanted caching
Updated 1 year, 11 months ago
| Marius Danciu | Reviewers | ||
| 346 | dpp, marius, charles, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday | ||
| None | LiftWeb-archive | ||
Allow the ability for user's function to add id-s for resource URI's in order to have proper resource refresh and browse cache optimization.
yes
simple!
Posted 1 year, 11 months ago (February 22nd, 2010, 9:52 a.m.)
Actually I thought of a case just after putting my review up. The default attachResourceId will generate an incorrect URI if the href/src attribute already includes a query string. It should probably test the URI passed in for a ? before adding a ? and adding a & instead
Review request changed
Updated 1 year, 11 months ago (February 22nd, 2010, 10:29 a.m.)
-
- added Diff r2
Updated per Ross' comments
looks good
nice!
