Created
August 27, 2011 22:26
-
-
Save jimmyjacobson/1175944 to your computer and use it in GitHub Desktop.
Redirecting using javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/ strict.dtd"> | |
2 | |
3 <html lang="en"> <head> <meta charset=utf-8> | |
4 <script src="/javascripts/jquery-1.6.2.min.js"></script> | |
6 <script lang="text/javascript"> | |
7 $(document).ready(function() { | |
8 window.location = "/path/to/content?ts={{version number}}"; | |
9 }); | |
10 </script> | |
11 </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So one question though. Wouldn't this page just get cached as well? So it would always be stuck with the same {{version number}}?
Shouldn't we set like or something?