Question

I'm currently developing a cfc in railo.

Every time I make a change to the cfc, I have to go into the admin and clear all four caches in order for me to see any changes.

Under Settings > Performance/Caching, Inspect Templates is set to always.
Under Archives & Resources > Components, I have the cache checkbox unchecked.

These settings are set both under the Web.cfm and Server.cfm areas.

In the area I'm working in, the only files are a blank Application.cfm and an index.cfm with a service.cfc, neither of which are calling the <cfcache> tag.

What can I do to stop this caching for now?

I'm using Railo 3.3.1

Was it helpful?

Solution

Check your Mappings - make sure the Inspect Templates option is set to "always" for all relevant mappings.

This option is independent of the global Inspect Templates option. (Allowing you to cache, for example, mappings for frameworks that are rarely updated, whilst keeping changing mappings uncached.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top