PHP或Laravel缓存服务器端代码?

时间:2018-01-02 15:44:55

标签: php laravel iis

我有这个奇怪的问题。我的服务器端代码正在被我不知道的东西缓存。

这是我的路线:Route::get('GlCountry/{country}', 'CashHoldingController@GetGlByCountry');

CashHoldingController有一些功能,但我删除了整个文件,所以现在是空的,我的应用程序仍在使用我删除的功能...就像他们在那里但不要。

我的服务器在IIS7下运行,我正在使用laravel 5.5

无论我做什么都像控制器代码被缓存在某个地方。

我已尝试停用php opcache extension,但仍然相同。我不知道发生了什么。

1 个答案:

答案 0 :(得分:0)

使用以下命令清除路由缓存:

df <- read.table(text="obs time value
A   1    5.5
B   1    7.1
C   1    4.3
D   1    6.4
E   1    6.6
F   1    5.6
G   1    6.6
A   2    6.5
C   2    6.7
D   2    7.8
F   2    5.7
G   2    8.9", header=TRUE, stringsAsFactors=FALSE)