Re: Reloading changes JS files?

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

 



Skip Evans wrote:

> Hey all,
> 
> I have an HTML template file I read into a PHP
> script and then after supplying dynamic data I
> send the template to the browser with
> 
> echo $html;
> 
> The HTML template contains many JS files in the
> <head>...</head> section referenced like this:
> 
> <script src="ajax/players.js"
> type="text/javascript"></script>
> 
> My question is this: how can I cause the JS files
> on the header.html file to be reloaded to the
> browser when ever they have been modified?

When you do an explicit "refresh" or "reload" in your browser, it should
ignore whatever it's got cached and refetch your javascript files
regardless. 


/Per Jessen, Zürich


--
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