掲示板

Annoying cache of js-file which was embedded to ROOT by ext-plugin

12年前 に Andrey Yeremenko によって更新されました。

Annoying cache of js-file which was embedded to ROOT by ext-plugin

New Member 投稿: 6 参加年月日: 11/07/26 最新の投稿
Hello guys!

Maybe someone can give me good advice...

We wrote ext-plugin which embed one js file which is used by many portlets.
Cache is turned off, minification and so on too. But I update this file by dirrect-deploy(when server turn off) also by simple deploy. Cleaned tomcat work and temp directories. Even restart computer, but the old version of file is sent to browser which has already gotten this file (this is not cache of browser). If I open app in other browser I get new one. Also I can get new one in old browser in such way: copy link to this js from page, open it in new tab, change timestamp value in its url to newer and I get new one too.

Thanks in advance.

Regards,
Andrew
thumbnail
12年前 に Thiago Leão Moreira によって更新されました。

RE: Annoying cache of js-file which was embedded to ROOT by ext-plugin

Liferay Legend 投稿: 1449 参加年月日: 07/10/10 最新の投稿
Is it possible that you have a proxy cache between your client and server machines?
12年前 に Andrey Yeremenko によって更新されました。

RE: Annoying cache of js-file which was embedded to ROOT by ext-plugin

New Member 投稿: 6 参加年月日: 11/07/26 最新の投稿
Thiago Leão Moreira:
Is it possible that you have a proxy cache between your client and server machines?

Hi Thiago Leão Moreira!

No I'm working on local instance of tomcat and I do not use reverse proxy here.