File-Cache always on?

505 views
Skip to first unread message

mathias

unread,
Aug 28, 2015, 12:55:55 PM8/28/15
to vert.x

Although I have disabled file caching all files are served from the vertx cache:
.vertx\file-cache-xxxx

Code used to disable at the very beginning of the app:
Properties properties = System.getProperties();
properties
.setProperty("vertx.disableFileCaching", "true");

Is the file-cache always on?

Nat

unread,
Aug 28, 2015, 1:38:00 PM8/28/15
to vert.x

mathias

unread,
Aug 28, 2015, 2:25:05 PM8/28/15
to vert.x
I don't know. Here is the actual merge commit:
https://github.com/eclipse/vert.x/commit/4f851b4b4b0994c6479aeddfaab60cb1926a5dc4

My problem are not the existings of the cache folders but the usage of them :-)

Nat

unread,
Aug 28, 2015, 5:10:14 PM8/28/15
to vert.x
That is not in v3.0.0. Have you tried the snapshot version?

mathias

unread,
Sep 8, 2015, 10:22:58 AM9/8/15
to vert.x
I am using 3.1.0-SNAPSHOT and the cache seems to get used because every time my web-server-verticle is executed another folder .vertx\file-cache-xxxx gets added

Tim Fox

unread,
Sep 14, 2015, 3:17:44 AM9/14/15
to ve...@googlegroups.com
The dir will be created but shouldn't be used if file caching is disabled.


On 08/09/15 15:22, mathias wrote:
I am using 3.1.0-SNAPSHOT and the cache seems to get used because every time my web-server-verticle is executed another folder .vertx\file-cache-xxxx gets added
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/70fd23de-608f-4eea-9227-7211ba7c6a2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages