Title: Versioning external loaded scripts
Last modified: April 10, 2020

---

# Versioning external loaded scripts

 *  Resolved [nissarak](https://wordpress.org/support/users/nissarak/)
 * (@nissarak)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/versioning-external-loaded-scripts/)
 * Hello,
 * I am using wonderpush.com and updated the notification prompt that is not being
   updated within my current browser but working fine for a first time visitor.
 * I did cleared all caches of breeze, varnish, redis, cloudflare and also installed
   your plugin to versioning all css and js files (that is working well) but it 
   seems due that external scripts had not been versioned the push prompt is still
   loading the old one?
 * <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style
   ></noscript>
    <script src=”[https://cdn.by.wonderpush.com/sdk/1.1/wonderpush-loader.min.js&#8221](https://cdn.by.wonderpush.com/sdk/1.1/wonderpush-loader.min.js&#8221);
   async></script> <script>
 * I am not sure how to test wether it is the reason else I would append a simple?
   ver=12345. Or is there anything else that still gets cached but not versioned?
   Such as images?
 * By the way, adding the “assets_version” directly within the plugin settings would
   be nice. Instead of manually into the functions.php
 * Thank you in advance!

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

 *  Plugin Author [kostyatereshchuk](https://wordpress.org/support/users/kostyatereshchuk/)
 * (@kostyatereshchuk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/versioning-external-loaded-scripts/#post-12662615)
 * Hello,
 * If you added this script without using wp_enqueue_script function you can add“
   ver” param manually, for example:
 * `<script src=”https://cdn.by.wonderpush.com/sdk/1.1/wonderpush-loader.min.js&
   ver=<?php echo time(); ?> async></script>`
 * Hope it will help.
 * Best regards,
    Kostya
 *  Plugin Author [kostyatereshchuk](https://wordpress.org/support/users/kostyatereshchuk/)
 * (@kostyatereshchuk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/versioning-external-loaded-scripts/#post-12665248)
 * Marking as resolved for now.

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

The topic ‘Versioning external loaded scripts’ is closed to new replies.

 * ![](https://ps.w.org/prevent-browser-caching/assets/icon-256x256.png?rev=1793665)
 * [Prevent Browser Caching](https://wordpress.org/plugins/prevent-browser-caching/)
 * [Support Threads](https://wordpress.org/support/plugin/prevent-browser-caching/)
 * [Active Topics](https://wordpress.org/support/plugin/prevent-browser-caching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prevent-browser-caching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prevent-browser-caching/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kostyatereshchuk](https://wordpress.org/support/users/kostyatereshchuk/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/versioning-external-loaded-scripts/#post-12665248)
 * Status: resolved