This topic is locked
[SOLVED]

 Beware Chrome Caches Old Custom CSS

4/19/2020 8:59:23 PM
PHPRunner General questions
M
MikeB941 author

phprunner 10.3 - build 34624 x64
This took me several hours to figure out.
I had entered some custom CSS code on the phprunner editor page at the top of the screen.
It didn't work exactly as planned so I went back later to make some changes but they weren't taking affect.
I used INSPECT ELEMENT under the Chrome browser to see the that the custom CSS is reference as: https://myurl/styles/custom/custom.css?34624
phprunner does NOT update the query string "?34624" (the build number) to force the cache to reload the latest CSS version.
So under Google Chrome - you keep getting the old CSS from the cache unless you do a CONTROL-F5 to force the reload to disregard the cache.
I was only able to figure this out using INSPECT ELEMENT in the browser to see the CSS updates weren't coming through.
Hope this helps -

D
DealerModulesDevClub member 4/20/2020

Hi Mike,

I put this up the other day on the tips and tricks.

Sometimes it is faster to clear cache by going this route on chrome, especially when you are doing a lot of css and graphic changes.

See:

https://asprunner.com/forums/topic/27301-2-quick-tips-on-items-that-help-me-may-help-you-too/
Paul

M
MikeB941 author 4/20/2020

Many thanks Sergey and Paul!