Datestamp
This is an open discussion with 6 replies, filed under Extensions.
Search
@rainerborene - Thanks! This will be really helpful.
Awesome. I’ve been meaning to build exactly this, only my way would have been less elegant and less useful :/
I’ve found using the $today
and $current-time
parameters (concatenated, and punctuation removed if you fancy) does the same trick.
@nickdunn Not the same because it gets the file modification time.
Duh! I completely missed that. In which case — bravo, this is incredibly useful :-) Before I would manually change datestamps in my master.xsl
after making an update.
Yes, this extension is strikingly simple and useful alike! Thank you, rainerborene!
I have many websites using version numbers for CSS and JS files to overcome caching problems. I always hated this. Problem solved with the ingenious Datestamp Helper.
Create an account or sign in to comment.
This is a simple extension that lets you get the file modification time.
Useful when you need to prevent caching of some files (mainly css).
Check out http://github.com/rainerborene/datestamp_helper/tree/master
Example:
Result:
Pretty simple, huh?