Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Hammadrashid's avatar

Shared hosting cache issue

My laravel project is hosted on shared hosting and am facing server cache issue. Like if i ever use dd() or dump() in controller, the next time i hit that function I get the same result even if i remove that whole function. Unless i use "?nocache=2" at the end of the url. How can i get rid of it?

0 likes
3 replies
martinbean's avatar

@hammadrashid Well it sounds like your host has a client-side cache (such as Varnish) to reduce the load on their servers, so you’ll need to speak to your hosting provider.

Hammadrashid's avatar

I'm using bluehost hosting. Do you have any idea how to disable it?

Please or to participate in this conversation.