The normal css system in Drupal 6 appends a dummy query string to each css link to force a client-side reload of the file after each cache flush.
The print module has its own code for inserting css files that doesn't take advantage of this mechanism. This may cause a client to see an outdated version of the printed page because an old copy of the css may still be in the browser's cache.
The attached patch adds this cache buster query string to print.css inserted by the print module to ensure up to date css on the client side without requiring an explicit refresh.

CommentFileSizeAuthor
print.pages_.inc_.patch1.1 KBBodo Maass
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcnventura’s picture

Status: Needs review » Fixed

Hi,

Thanks for the patch.. The implementation was wrong, as you were adding the query string in the wrong place, but the idea was correct. I've just committed a working fix to CVS.

João

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.