Change chart file PK to filename, change cache config