Timeline for Which cache is kicking
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 19, 2018 at 18:08 | vote | accept | pierostz | ||
Nov 19, 2018 at 14:06 | comment | added | Bob | @pierostz I've added my comment as an answer. In any case, really glad I could help :)! | |
Nov 19, 2018 at 14:05 | answer | added | Bob | timeline score: 1 | |
Nov 19, 2018 at 12:40 | comment | added | pierostz | @Bob You are my hero. The file wasn't properly added to the template as described here. It was hard coded in the header.php file. Added the wp_enqueue_style function in functions.php and now all works as it should. I suggest you write an answer to this. | |
Nov 16, 2018 at 10:59 | comment | added | Bob |
You could change the file version each time the file gets updated. To do this, go to your functions.php file and find where the style-sheet is being enqueued (or registered) - it will look something like wp_enqueue_style( 'theme-style', get_template_directory_uri() . '/style.css' ); and change it to wp_enqueue_style( 'theme-style', get_template_directory_uri() . '/style.css', array(), filemtime( get_template_directory_uri() . '/style.css' ) ); . This will change the file version each time you save it, forcing the new version to get loaded.
|
|
Nov 15, 2018 at 15:45 | review | Close votes | |||
Nov 30, 2018 at 3:05 | |||||
Nov 15, 2018 at 15:25 | comment | added | pierostz | style.css located in my theme folder. I am sure that is the one used for styling through Developers Tools, therefore the changes I make there are visible after a while | |
Nov 15, 2018 at 12:51 | comment | added | Jacob Peattie | So what file are you editing exactly? Just style.css, or something else? | |
Nov 15, 2018 at 11:56 | history | edited | pierostz | CC BY-SA 4.0 |
Added the clarification about server side caching
|
Nov 15, 2018 at 11:55 | comment | added | pierostz | I should have pointed that out. I tried different browsers, computers and all. The caching is server side. | |
Nov 15, 2018 at 11:49 | comment | added | Jacob Peattie | It's likely just your browser. Do you see the changes if you use a different browser, or use private browsing? | |
Nov 15, 2018 at 11:20 | review | First posts | |||
Nov 15, 2018 at 13:06 | |||||
Nov 15, 2018 at 11:19 | history | asked | pierostz | CC BY-SA 4.0 |