Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Sure you could go into the admin and add a ?buster there but it's a bit difficult to remember for this particular file. Adding the default query string in the script tag should do the trick.
Comment | File | Size | Author |
---|---|---|---|
#7 | 1142732.patch | 1.16 KB | bleen |
#4 | omniture-comment-cleanup-1142732-4.patch | 1.04 KB | sperks |
#1 | omniture-add_cache_buster-1142732-1.patch | 1.04 KB | aaronott |
Comments
Comment #1
aaronott CreditAttribution: aaronott commentedComment #2
sperks CreditAttribution: sperks commentedI tested this patch and it works fine. We have around 30 sites (which could be increasing to ~70/80 before the end of the year) using one s_code.js file, and busting the cache manually every time is becoming increasingly time consuming.
Comment #3
gregglesGreat idea. If I'm a little nitpicky then the comment should be a sentence (capital, ends in a period). And "ripped" feels like slang - maybe "Copied" would be more easily understood by folks in the future.
Thanks for providing this!
Comment #4
sperks CreditAttribution: sperks commentedThis would be my first patch, so just to make sure I've got the local process down, I'm committing the nitpicky changes.
Comment #5
gregglesHi Sperks - looks perfect to me.
Thanks to both of you for your help - now committed http://drupalcode.org/project/omniture.git/commit/7a18222
This now needs to be ported to 7.x. Are either of you able to do that?
Comment #6
sperks CreditAttribution: sperks commentedI'm still primarily on D6 but will take a look later to see where things differ.
Comment #7
bleen CreditAttribution: bleen commentedThis should definitely be added the D7 version...
Comment #8
bleen CreditAttribution: bleen commentedSince this was a super basic port and no one had any thoughts on it for over a week, I went ahead and committed it.
http://drupalcode.org/project/omniture.git/commit/26a4cc2