moved cache spec directory and added constant