Can I use double version keys in script src attribute to avoid browser cacheStoring Objects in HTML5 localStorageFind out if radio button is checked with JQuery?Using the HTML5 “required” attribute for a group of checkboxes?How to send FormData objects with Ajax-requests in jQuery?Script Tag - async & deferHow to get HTML 5 input type=“date” working in Firefox and/or IE 10AngularJs force browser to clear cacheHow make browser update script file when manifest updates but allow caching?How to cache the video on the browser and used the cached version every time the video is playedHTML5 application cache and Browser cache - can they interfere with each other?

Did the CIA blow up a Siberian pipeline in 1982?

How many people are necessary to maintain modern civilisation?

Do I need a shock-proof watch for cycling?

What are Elsa's reasons for selecting the Holy Grail on behalf of Donovan?

Is "Busen" just the area between the breasts?

Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?

Android Material and appcompat Manifest merger failed in react-native or ExpoKit

Can Ogre clerics use Purify Food and Drink on humanoid characters?

Why does using different ArrayList constructors cause a different growth rate of the internal array?

Helping ease my back pain by studying 13 hours everyday , even weekends

Are all Ringwraiths called Nazgûl in LotR?

UK - Working without a contract. I resign and guy wants to sue me

Why don't countries like Japan just print more money?

Designing a magic-compatible polearm

What is the meaning of "понаехать"?

Is Famished Paladin and Resplendent Mentor a legal infinite life combo?

Do I have to explain the mechanical superiority of the player-character within the fiction of the game?

How does a herniated spinal disk correct itself?

How can you guarantee that you won't change/quit job after just couple of months?

Get list of shortcodes from content

Counterfeit checks were created for my account. How does this type of fraud work?

How does DC work with natural 20?

Where's this swanky house and vineyard near a mountain?

What is "industrial ethernet"?



Can I use double version keys in script src attribute to avoid browser cache


Storing Objects in HTML5 localStorageFind out if radio button is checked with JQuery?Using the HTML5 “required” attribute for a group of checkboxes?How to send FormData objects with Ajax-requests in jQuery?Script Tag - async & deferHow to get HTML 5 input type=“date” working in Firefox and/or IE 10AngularJs force browser to clear cacheHow make browser update script file when manifest updates but allow caching?How to cache the video on the browser and used the cached version every time the video is playedHTML5 application cache and Browser cache - can they interfere with each other?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Is the below code cause any issue?
Is the browser take the updated version of js without clearing cache?










share|improve this question






















  • <script src="xxx/yyy/test. js?v=1?version=2342" >

    – Ramya M
    Mar 25 at 7:36

















0















Is the below code cause any issue?
Is the browser take the updated version of js without clearing cache?










share|improve this question






















  • <script src="xxx/yyy/test. js?v=1?version=2342" >

    – Ramya M
    Mar 25 at 7:36













0












0








0








Is the below code cause any issue?
Is the browser take the updated version of js without clearing cache?










share|improve this question














Is the below code cause any issue?
Is the browser take the updated version of js without clearing cache?







html5






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 7:33









Ramya MRamya M

66




66












  • <script src="xxx/yyy/test. js?v=1?version=2342" >

    – Ramya M
    Mar 25 at 7:36

















  • <script src="xxx/yyy/test. js?v=1?version=2342" >

    – Ramya M
    Mar 25 at 7:36
















<script src="xxx/yyy/test. js?v=1?version=2342" >

– Ramya M
Mar 25 at 7:36





<script src="xxx/yyy/test. js?v=1?version=2342" >

– Ramya M
Mar 25 at 7:36












1 Answer
1






active

oldest

votes


















0














I won't cause any issue because you are just passing Get Query String Parameters on JS url but why would you do that? It's better to .., just increment the value of v=1



Try adding this on your browser address bar and reload the page it won't cause any issue.



?xx=test



Sample : https://davidwalsh.name/query-string-javascript?aaaaaa=bbbbbbbb?ccccccccccc=ddddddddddddd






share|improve this answer























  • So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

    – Ryan Jeric
    Mar 25 at 8:37











  • Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

    – Ramya M
    Mar 25 at 8:51











  • yes just increase the version value every-time there's an update on your JS

    – Ryan Jeric
    Mar 25 at 9:11











  • @RamyaM if this helps.. can u mark it as answer thanks

    – Ryan Jeric
    May 24 at 3:02











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55333064%2fcan-i-use-double-version-keys-in-script-src-attribute-to-avoid-browser-cache%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I won't cause any issue because you are just passing Get Query String Parameters on JS url but why would you do that? It's better to .., just increment the value of v=1



Try adding this on your browser address bar and reload the page it won't cause any issue.



?xx=test



Sample : https://davidwalsh.name/query-string-javascript?aaaaaa=bbbbbbbb?ccccccccccc=ddddddddddddd






share|improve this answer























  • So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

    – Ryan Jeric
    Mar 25 at 8:37











  • Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

    – Ramya M
    Mar 25 at 8:51











  • yes just increase the version value every-time there's an update on your JS

    – Ryan Jeric
    Mar 25 at 9:11











  • @RamyaM if this helps.. can u mark it as answer thanks

    – Ryan Jeric
    May 24 at 3:02















0














I won't cause any issue because you are just passing Get Query String Parameters on JS url but why would you do that? It's better to .., just increment the value of v=1



Try adding this on your browser address bar and reload the page it won't cause any issue.



?xx=test



Sample : https://davidwalsh.name/query-string-javascript?aaaaaa=bbbbbbbb?ccccccccccc=ddddddddddddd






share|improve this answer























  • So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

    – Ryan Jeric
    Mar 25 at 8:37











  • Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

    – Ramya M
    Mar 25 at 8:51











  • yes just increase the version value every-time there's an update on your JS

    – Ryan Jeric
    Mar 25 at 9:11











  • @RamyaM if this helps.. can u mark it as answer thanks

    – Ryan Jeric
    May 24 at 3:02













0












0








0







I won't cause any issue because you are just passing Get Query String Parameters on JS url but why would you do that? It's better to .., just increment the value of v=1



Try adding this on your browser address bar and reload the page it won't cause any issue.



?xx=test



Sample : https://davidwalsh.name/query-string-javascript?aaaaaa=bbbbbbbb?ccccccccccc=ddddddddddddd






share|improve this answer













I won't cause any issue because you are just passing Get Query String Parameters on JS url but why would you do that? It's better to .., just increment the value of v=1



Try adding this on your browser address bar and reload the page it won't cause any issue.



?xx=test



Sample : https://davidwalsh.name/query-string-javascript?aaaaaa=bbbbbbbb?ccccccccccc=ddddddddddddd







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 8:29









Ryan JericRyan Jeric

667




667












  • So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

    – Ryan Jeric
    Mar 25 at 8:37











  • Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

    – Ramya M
    Mar 25 at 8:51











  • yes just increase the version value every-time there's an update on your JS

    – Ryan Jeric
    Mar 25 at 9:11











  • @RamyaM if this helps.. can u mark it as answer thanks

    – Ryan Jeric
    May 24 at 3:02

















  • So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

    – Ryan Jeric
    Mar 25 at 8:37











  • Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

    – Ramya M
    Mar 25 at 8:51











  • yes just increase the version value every-time there's an update on your JS

    – Ryan Jeric
    Mar 25 at 9:11











  • @RamyaM if this helps.. can u mark it as answer thanks

    – Ryan Jeric
    May 24 at 3:02
















So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

– Ryan Jeric
Mar 25 at 8:37





So everytime there's an update on your JS you should update those Get Query String Parameters on your JS url then your browser should automatically take the updated version of your js without clearing cache

– Ryan Jeric
Mar 25 at 8:37













Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

– Ramya M
Mar 25 at 8:51





Thank you... I am increasing?version value, then dose the browser take new version of test.js from server?

– Ramya M
Mar 25 at 8:51













yes just increase the version value every-time there's an update on your JS

– Ryan Jeric
Mar 25 at 9:11





yes just increase the version value every-time there's an update on your JS

– Ryan Jeric
Mar 25 at 9:11













@RamyaM if this helps.. can u mark it as answer thanks

– Ryan Jeric
May 24 at 3:02





@RamyaM if this helps.. can u mark it as answer thanks

– Ryan Jeric
May 24 at 3:02



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55333064%2fcan-i-use-double-version-keys-in-script-src-attribute-to-avoid-browser-cache%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript