CantFitMyN Website

This project is to track everything that goes on with the CantFitMyN website.
Tasklist

FS#114 - Investigate caching of files using SVN revision number

Attached to Project: CantFitMyN Website
Opened by Lewis Keen (Yeggstry) - Saturday, 24 April 2010, 13:06 GMT+1
Task Type Bug Report
Category Misc
Status New
Assigned To Lewis Keen (Yeggstry)
Operating System All
Severity Low
Priority Normal
Reported Version 0.3.7
Due in Version 0.ideas
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

[12:58:24] <@_W_> - it does update the profile though
[12:59:02] <@Yeggstry> _W_ what do you mean don't handle caching right? :P You think the site has anything but the very basic caching
[12:59:15] <@_W_> with js enabled, it works fine "Thank you for taking the time to update your profile"
[12:59:49] <@Yeggstry> I ended up running firebug as I submitted it, and saw the error "console is undefined"
[12:59:53] <@_W_> heh at work we're just not implementing an url-changing scheme so that static resources can be updated without worrying about caching
[13:00:11] <@_W_> *just now
[13:00:13] <@Yeggstry> using timestamps?
[13:00:17] <@Mushroom> clearing cache seemed to fix it
[13:00:19] <@_W_> svn revisions actually
[13:00:27] <@Mushroom> (well, ctrl+f5 anyway)
[13:00:30] <@Yeggstry> ah, nice idea
[13:00:36] <@Yeggstry> thanks Mushroom :)
[13:00:56] <@Yeggstry> so you would have something like cfmn.min.js?svn=157
[13:01:06] <@_W_> this is all possible since we just started using Hudson to deploy the web app
[13:01:08] <@Yeggstry> which would get you the version of this js which would fix the issue :P
[13:01:12] <@_W_> Yeggstry, yes
[13:01:15] <@Yeggstry> cool
[13:01:27] <@_W_> rev= instead of svn= but otherwise exactly like that
[13:01:34] <@_W_> Phil^, that would defeat caching entirely
[13:02:00] <@_W_> we don't want to do that ><
[13:02:37] <@Yeggstry> so _W_, how do you match the reference to a file in say HTML and get hudson to append the rev number?
[13:03:43] <@_W_> mod_proxy_html
[13:04:02] <@_W_> hudson just updates the apache config
[13:04:27] <@Yeggstry> with the revision number
[13:04:37] <@_W_> aye
[13:04:41] <@Yeggstry> cool :)
[13:04:46] <@Yeggstry> i like that solution
This task depends upon

Loading...