Fix the debug of css and js when cache is on

Signed-off-by: emanuele <emanuele45@gmail.com>