i am using the laravel application and it has high traffic and i had a conversation with server provider and he suggested two solution for this like below,
To reduce the impact of traffic on the server, I would highly recommend utilizing the server's cache. To do so, you should set up the website to not return a cache-control: private header, and return cookies only on the pages it really needs (like checkout pages, etc.)
Also based on my htaccess code they replied like below,
Based on my findings, the application returns the cache-control header. Please keep in mind that PHP scripts can return custom HTTP headers as well. So in this case the header is not returned by a .htaccess option, but rather the website application (Laravel).```
Where to check this header which is set to private and any suggestions on this?
Thank you.