Completed Cache-Control Headers

With some changes with SQL and File structure
A small change with Data directory path