Try using protocol-less URI's when referencing your JS/CSS resources, then you won't need to vary your webskin caching by any vars.
e.g. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js<http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js> "></script> I think the skin:registerJS/registerCSS/loadJS/loadCSS tags should still work fine with that type of URI as well (resources on external domains will be called directly and won't be minified / cached by FarCry). cheers, Justin -- Justin Carter http://www.madfellas.com/blog http://twitter.com/justincarter On Mon, Feb 6, 2012 at 9:47 PM, Szabolcs Nagy <[email protected]>wrote: > Hi All, > > I have a webskin which is referencing external resources (e.g. js,css) > When I turn on caching and try to access the page through 'https://' I > get a the previously cached version back where the external resources are > referenced with 'http://'. > > How can I convince farcry (version: 6.1.2) to create 2 different cached > versions of the same webskin or use the cache only when the 'http://' > protocol is used? > I tried to use @@CacheByVars cgi.server_port_secure:0 but it didn't work. > What is the correct syntax to nominate a list of variables for > @@CacheByVars annotation? > > Thanks in advance, > Szabolcs > > > > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
