|timestamp

The filter |timestamp adds a timestamp to the URL of a file.

Example:

  • [(#CHEMIN{squelettes/sakura.jpg})] returns squelettes/sakura.jpg
  • [(#CHEMIN{squelettes/sakura.jpg}|timestamp)] returns squelettes/sakura.jpg?1455876748

When changing the file, the timestamp has a new value, and thus forces the user’s browser to re-download the updated file.

See also: |supprimer_timestamp

Author jack Published :

Translations : English, français, Nederlands