0
For example, I have my website and made a modification, but it has not yet been applied in the client’s browser. Is there any way I can run this cache cleanup in the client browser? With PHP, Javascript maybe?
On a site I’m working, has the CDN cache, but I realized that even if I clear the site’s CDN cache, "no use", put the change will only be seen on the client screen, if it clears the cache of his browser.
There is a way that I use and it works, at the time of loading the JS or CSS, at the end of the file put a
? + time()
, will look like this: meuarquivo.css? 10312000114– Don't Panic
I don’t understand Everson, I could explain?
– Lucas de Carvalho
Depending on the CDN it can be cached for months. Usually in the DOC there are explanations about the file parameters to avoid caching. You’ve already taken a look?
– Papa Charlie