Reply To: Multiple rewrite url value from database

Splash Forums Rewrite Users Multiple rewrite url value from database Reply To: Multiple rewrite url value from database

#27027

Not sure what that best way to handle this requirement is. There is a ConfigurationCacheProvider SPI that (by default) caches the configuration forever.

API:
https://github.com/ocpsoft/rewrite/blob/master/api/src/main/java/org/ocpsoft/rewrite/spi/ConfigurationCacheProvider.java

Default implementation:
https://github.com/ocpsoft/rewrite/blob/master/impl-servlet/src/main/java/org/ocpsoft/rewrite/servlet/impl/ServletContextConfigurationCacheProvider.java

You could register your own implementation that basically disables caching or forces configuration reloading at certain events. I guess you will have a look at the source. 🙂