Project hosting on Google Code. Files are cahced?
Posted
by Frexuz
on Stack Overflow
See other posts from Stack Overflow
or by Frexuz
Published on 2010-04-16T13:54:50Z
Indexed on
2010/04/16
14:03 UTC
Read the original article
Hit count: 206
I do not really understand how Google Code handles file versioning. I am building a jQuery plugin that anyone can access. Like so:
<script type="text/javascript" src="http://jquery-old-browser-warning.googlecode.com/files/jquery.browser-warning.js"></script>
This script accesses other files on the same project (via ajax).
The problem is, that when I upload a new file, it just seems like there aren't any changed to it. Google recommends that new files should have new names. But then I would have to change the filenames that the script loads. But then I would have to change the script file as well, and that would break everybodys implementation (with the script-tag above)
Is there a way to force a file to change when uploading with the same filename?
PS: If I go directly to the project page's file list. Then I do get the file with the updated content. But as I said, not when getting it through ajax.
© Stack Overflow or respective owner