Make cache folder confgurable

Description

Can an app scope path var be set up and used for this cache folder in a similar way to the image or file folders, e.g.
<cfset application.path.cache = "#application.path.webroot#/cache">
This could then be changed to a different folder name if required.

Place where "/cache" is referenced.
/core/packages/facry/utils.cfc
/core/tags/core/cssInHead.cfm
/core/tags/core/cssJSHead.cfm

Should also allow for referencing an absolute URL to a specific CDN location.

Environment

None

Activity

Geoff BowersJuly 23, 2012 at 4:14 AM

Should add an option to the site general config. Perhaps we should have a fieldset that allows you to set defaults for combine and minify as well.

Geoff BowersOctober 13, 2011 at 11:27 AM

While this appears to have an application.path.cache global constant in place, it doesn't appear to work – doesn't get set earlier enough in the application initialisation.

See this thread for a workaround:
https://groups.google.com/d/topic/farcry-dev/LKQFsJaLRR8/discussion

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 11, 2010 at 10:13 AM
Updated November 14, 2023 at 1:05 PM