added cache to the API
cache fix, header padding