$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>css - Why child theme stylesheet takes long time to update?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

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

matteradmin9PV0评论

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.

Post a comment

comment list (0)

  1. No comments so far