That should work. The filename includes a random key so that updating the
application will also force FarCry to create a new file, so there is no
guaruntee that multiple servers will look to the same files. The cached
files are generated on the first page request that requires the file, if it
doesn't already exist. Having multiple servers shouldn't be relevant at all.

Blair

On Tue, Oct 11, 2011 at 1:53 AM, James Buckingham <[email protected]>wrote:

> Ok so doing a bit of searching through the group I came across this thread
> -
> https://groups.google.com/forum/#!searchin/farcry-dev/cache/farcry-dev/W4fRxoCBoB4/B71wiLo3-foJ
>
> ... and mention of Chris raising a ticket for this to be added -
> https://farcry.jira.com/browse/FC-2168
> The ticket is marked as unresolved but thanks Chris for the pointers
> because it lead me to line 48 of core/packages/farcry/utils.cfc which is
> down as....
>
>         <!--- COMBINE: Used for CSS and JS --->
>         <cfset variables.oCombine = createObject("component",
> "farcry.core.packages.farcry.combine.combine").init(
>                                                 enableCache= true,
> *                                                cachePath=
> "#application.path.cache#",
> *                                                enableETags= false,
>                                                 enableJSMin= true,
>                                                 enableYuiCSS= true,
>                                                 skipMissingFiles= true,
>                                                 javaLoader=
> createObject("component",
> "farcry.core.packages.farcry.javaloader.JavaLoader"),
>                                                 jarPath=
> expandPath('/farcry/core/packages/farcry/combine/lib')
>                                 ) />
>
> ... so am I right in think that if I repoint application.path.cache to our
> shared folder that will fix the issues? Or am I barking up the wrong tree?
>
>
> Cheers,
> James
>
> --
> 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

Reply via email to