cakephp - why do some changes NOT happen until I switch debugging to 3?

前端 未结 6 1574
予麋鹿
予麋鹿 2020-12-06 01:17

Sometime I will implement changes locally and they work fine, I copy them to my remote webserver and the changed are ignored. (The code is identical.)

I go into core

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 01:43

    It's definitely caching. On the server side if you have caching enabled, do not wonder if caching happens. You can turn this off in core.php, or more likely clear the cache Cache::clear() when you upgrade your app. On the client side you might want to tweak your browser to disable caching fully.

提交回复
热议问题