'How to configure/disable file caching in WebLogic 12.2

I'm working with WebLogic 12.2.1.3 and I know any web files (jsp, js, css etc) are cached by default in these two locations:

ORACLE_HOME/user_projects/domains/your_domain/servers/your_server/tmp
ORACLE_HOME/user_projects/domains/your_domain/servers/your_server/cache

Is there any way to disable this caching? Or to set a constant path from where the cached resources are always taken?

Whenever I change something in such files I need to either stop the server, rebuild and redeploy or to search where the file I want to modify is located in the cache, do the modifications there and then copy them to my source project. First way is pretty slow and the second way is proned to errors like forgetting to copy all the changes to my project and not finding the cache file since the path changes dynamically... In WebLogic 12.1.3 I used to deploy an exploded war file, then I would just synchronize changes in my source project with that folder without needing to restart...



Solution 1:[1]

@EmmanuelCollin's comment helped. Change your domain to dev mode (uncheck production). You still have to do Ctrl+F5 on your browser to see the changes, but the changes are immediate.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hari