Title: Scripts load without versions
Last modified: September 7, 2016

---

# Scripts load without versions

 *  Resolved [oolleegg55](https://wordpress.org/support/users/oolleegg55/)
 * (@oolleegg55)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/scripts-load-without-versions/)
 * Hello!
    Thanks for this helpful plugin!
 * I noticed that JS files load without versions info. It is not cool in reality.
   If you work with own plugins and upload them to the site they will not update
   properly.
 * I made some improvements to add versions. It is in the patch file below.
    What
   do you think about it? [https://drive.google.com/file/d/0B6Q7sxYLrHIHM1V0cXJDNFdaT3M/view?usp=sharing](https://drive.google.com/file/d/0B6Q7sxYLrHIHM1V0cXJDNFdaT3M/view?usp=sharing)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Willy Bahuaud](https://wordpress.org/support/users/willybahuaud/)
 * (@willybahuaud)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/scripts-load-without-versions/#post-8193332)
 * Actually we recommand to use the pluging [SF Cache busting](https://www.screenfeed.fr/downloads/sf-cache-busting/?ver=1.0)
   with pass query string version argument into the ressource name (for exemple 
   jquery.js?ver=3=0 will become jquery.3.0.js). We think it’s more efficient because
   many proxies don’t cache ressources with query string.
 * To use this plugin, before installing it you need to add rules to htaccess (or
   nginx config file):
    _for apache and lightspeed_
 *     ```
       <IfModule mod_rewrite.c>
           RewriteEngine On
           RewriteCond %{REQUEST_FILENAME} !-f
           RewriteRule ^(.+)\.(\d+)\.(css|js)$ $1.$3 [L]
       </IfModule>
       ```
   
 * _for nginx_
 *     ```
       if (!-e $request_filename) {
           rewrite ^/(.+)\.(\d+)\.(css|js)$ /$1.$3 break;
       }
       ```
   
 * More information (in french) [here](https://www.screenfeed.fr/plugin-wp/sf-cache-busting/)
 * 🙂
 *  Thread Starter [oolleegg55](https://wordpress.org/support/users/oolleegg55/)
 * (@oolleegg55)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/scripts-load-without-versions/#post-8193435)
 * Hello!
    Thanks for answer!
 * I’ll try it! It looks pretty good.
    If it is not good particular for me, I’ll
   continue to use my decision))

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Scripts load without versions’ is closed to new replies.

 * ![](https://ps.w.org/wp-deferred-javascripts/assets/icon-256x256.png?rev=974705)
 * [WP Deferred JavaScripts](https://wordpress.org/plugins/wp-deferred-javascripts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-deferred-javascripts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-deferred-javascripts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-deferred-javascripts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-deferred-javascripts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-deferred-javascripts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [oolleegg55](https://wordpress.org/support/users/oolleegg55/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/scripts-load-without-versions/#post-8193435)
 * Status: resolved