Dev & Tech Notes
San Diego | Los Angeles | Big Bear | USA
Terms & Conditions ©2005-2024 TJohns.co
Terms & Conditions ©2005-2024 TJohns.co
Top Left Text cha
Web & App Development
- Details
- Written by Timothy Johns
- Category: Chrome
- Hits: 1941
Anyway, I found a way that works sometimes. If you append a different URL for the style sheet every time, it helps. Not 100% because Google still recognizes the URL and pulls a cache of the actual styles. Cheap. Junky. Clunky. Chrome. I suppose maybe if you did this for every page of the site.. appended a random variable, that it might work better.
<?php $cache=mt_rand(10000,99999);?>
<link rel="stylesheet" href="/templates/tjohnsj3/css/style.css<?php echo '?ver='.$cache;?>" type="text/css" />
Add new comment
Comment (0)
Hits: 1941
- Details
- Written by Timothy Johns
- Category: Chrome
- Hits: 2137
Comment (0)
Hits: 2137
- Details
- Written by Timothy Johns
- Category: Chrome
- Hits: 1760
I thought PrefixFree was cool until I realized it creates an issue with Chrome Inspector. You can no longer de-bug your styles easily. Before PrefixFree, you could look to see exactly where your CSS bugs were... the class/ID and line number of your style sheet would show in the inspector. Then you could find and fix it easily. But, if you use PrefixFree, you won't see where the class or ID is located in your style sheet. What a pain. So, is PrefixFree still worth using??? I would say no. But, I'll update this if I find a fix.
Comment (0)
Hits: 1760
- Details
- Written by Timothy Johns
- Category: Chrome
- Hits: 2315
Comment (0)
Hits: 2315