Thank you Adam. I was just about to go looking for that very same logic!

Sincerely,
-Blake
[email protected]
www.BlakeSenftner.com
www.MissingUbercartManual.com

On Dec 9, 2010, at 1:12 PM, Adam B. Ross wrote:

> Not to address the pitfalls question, but you can directly tap into
> the same mechanism JS & CSS files use by using this:
> 
>> From 
>> http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_get_js/6:
>> $query_string = '?' . substr(variable_get('css_js_query_string', '0'), 0, 1);
> 
> On Thu, Dec 9, 2010 at 1:05 PM, Blake Senftner <[email protected]> 
> wrote:
>> prevents browser caching, and ultimately does not trigger a query - so it's 
>> a great method for cache prevention of dynamic content.

Reply via email to