By ss_drupal on
Maybe I'm the first person ignorant enough to ask this question here.
At any rate I haven't found it posted in the forums.
The script tags emitted by drupal tend to look like:
<script type="text/javascript" src="/misc/jquery.js?k"></script>
<script type="text/javascript" src="/misc/drupal.js?k"></script>
What is the ?k for at the end of the src attribute ?
In fact what is the ? for at all ?
I've been searching around outside of drupal without finding the answer.
As I said, please excuse my ignorance.
Thanks for reading.
Comments
from http://api.drupal.org/api/function/drupal_get_css/6
// A dummy query-string is added to filenames, to gain control over
// browser-caching. The string changes on every update or full cache
// flush, forcing browsers to load a new copy of the files, as the
// URL changed.
Thanks
That makes good sense.
Thanks very much for answering.