There are a number of techniques, some better than others. One good one is to have the following configuration: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)\.(\d+)\.(bmp|css|cur|gif|ico|jpe?g|js|png|svgz?|webp|webmanifest)$ $1.$3 [L] </IfModule> This allows URLs of the form /i/filename.1433499948.gif - but the file that is actually read from disk is just...