css - Why child theme stylesheet takes long time to update?

admin2025-06-02  0

I don't face this problem with every site I work on! But sometimes, it happen. The problem whenever I add some style to the stylesheet of child theme. It doesn't show the effects immediately, they do but take 1-2 hours for update.

Can anyone please tell me; I'm missing something or making any error. And is this happen to me?

Thanks in advance!

I don't face this problem with every site I work on! But sometimes, it happen. The problem whenever I add some style to the stylesheet of child theme. It doesn't show the effects immediately, they do but take 1-2 hours for update.

Can anyone please tell me; I'm missing something or making any error. And is this happen to me?

Thanks in advance!

Share Improve this question asked Mar 2, 2019 at 18:14 iveworivewor 12 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Browsers cache stylesheets to save bandwidth. In most browsers you can hold CTRL (or CMD on a mac) and click the refresh button to force it to re-download.

In Chrome, if you have the Inspector Tools open, then you can right-click the refresh button and it will show you 3 options, "Reload", "Hard Reload", and "Empty Cache and Hard Reload."

You may also have a site caching plugin installed which would need to be cleared using its controls. In this case it would not be the browser caching the .css file, but rather the server sending the cached file.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748847605a314222.html

最新回复(0)