Re: Reloading changes JS files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<img src='/image/bulk.jpg?112344324' />

anything after the question mark will get ignored by the browser. Except that the browser will think that it is a new URL that it has never seen before and it will call to the server for a fresh copy of the file.

Another options is instead of a question mark use a forward slash. This may be Apache specific though. Eg.

<img src='/image/bulk.jpg/112344324' />

ISTR question marks are not search engine friendly, so for pages this may be a preferred option.

--
              Richard Heyes

         In Cambridge? Employ me
        http://www.phpguru.org/cv

+----------------------------------------+
| Access SSH with a Windows mapped drive |
|    http://www.phpguru.org/sftpdrive    |
+----------------------------------------+

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux