Hello,

I have a website that I built after editing it requires the user to clear browser cache to see the updated website.

My question is does it requires everyone who have open the website for the first to clear browser cache to see the updated?

What if the first time opening the website was a long time ago?

Not sure, but just wanted to know whether you've got any other alternatives other than caching the content because as far as I know, it would not be wise to cache the whole website.
Also, I think if anyone is browsing your website the very first time, then they shouldn't experience the caching problem.

Of course some code snippet would be of great help to dig in what's happening and how could we control the same.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.