Admin+Config: Add toggle that disables Cloudflare cache
It's now possible to disable the Cloudflare cache during development, so the hacky workaround with the random number in the CSS/JS URLs is no longer needed. Development mode is automatically disabled by Cloudflare after 4 hours.
This commit is contained in:
@@ -21,6 +21,7 @@ return [
|
||||
['/logout', 'LoginController', 'logout', ''],
|
||||
['/admin', 'AdminController', '', ''],
|
||||
['/admin/toggle', 'AdminController', 'toggle', ''],
|
||||
['/admin/toggle-development-mode', 'AdminController', 'development', ''],
|
||||
['/admin/syntax-highlighting', 'AdminController', 'syntax', ''],
|
||||
['/test', 'TestController', '', ''],
|
||||
// ["", "", "", ""],
|
||||
|
||||
Reference in New Issue
Block a user