maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Force javascript (or style sheet) file to override browser's cache

I don't believe ? is a legal characters in a file name so that's probably not a good solution for this.

Benny Halperin
Posts: 0
Joined: Wed Oct 02, 2013 8:13 am

Force javascript (or style sheet) file to override browser's cache

Easy: the name field remains untouched, where you should already validate against illegal chars. Then another optional textbox where I can type a query string that you can append to the file name, even adding the ? yourself.

The query string syntax is much less strict, not sure validation is needed at all (must encode it for security)

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Force javascript (or style sheet) file to override browser's cache

Kateryna, can you expand this. So I create a new JS file with some function having what code? And do I call that function just one time (e.g. when first page is loaded) - or when each of my pages is loaded? Thanks.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Force javascript (or style sheet) file to override browser's cache

You can call this function where you need.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Force javascript (or style sheet) file to override browser's cache

Alena, I assume you meant to add some code....otherwise I don't understand the help you are providing.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Force javascript (or style sheet) file to override browser's cache

Hello Robert. After you add functions to the JS file you can invoke them anywhere you want (https://devcenter.appery.io/documenta...).

Return to “Issues”