Jump to the post that solved this thread.
Not Solved Client side cache
#1
Not Solved
Is there a way to clear the cache on the client side?
When I make changes to the CSS, it is not updated instantly on the client side.

For example, I changed the background color and asked my friend (who was logged in to the forum) to update the page, but the changes were not updated. He had to open an anonymous tab to see the updates.
Reply
#2
Not Solved
It is likely easier to ask your friend to hard refresh the page (CTRL + F5) a few times to see the changes.
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#3
Not Solved
We just rename the stylesheet every time there are any major changes. (e.g. global.css becomes global2.css). Doing this forces the client side browser to reload that stylesheet.

This doesn't work for images, but it will work for CSS and templates.
Reply
#4
Not Solved
(2020-04-26, 09:46 PM)Ben Wrote: It is likely easier to ask your friend to hard refresh the page (CTRL + F5) a few times to see the changes.

This is the best solution supposing there is very limited users on the forums (newly created).

(2020-04-26, 09:49 PM)Darth Apple Wrote: We just rename the stylesheet every time there are any major changes. (e.g. global.css becomes global2.css). Doing this forces the client side browser to reload that stylesheet.

This doesn't work for images, but it will work for CSS and templates.

This is the best practice to ensure there isn't any issues going forward. I recommend following this.
Check out all my submissions here - click me
MyBB support at it's finest. 
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)