[Javascript] Use javascript to stop linked CSS getting fetched from cache?
Roland Neilands
rneilands at pulsemining.com.au
Fri Jun 15 21:22:12 CDT 2007
Barney Carroll wrote:
> After trying various things to modify the computed styles, I realised
> that all I really need to do is make sure the CSS rules are reinstated
> when each page loads, so I need to either
>
> a) find a way to make sure the linked CSS is reloaded on page load
> or
> b) re-apply the linked CSS when the page is ready/rendered.
Of course you could just have the style inline. I have a css file which
I dump into every page server side just for this scenario;
caching is too inconsistent as some of the workarounds suggested show.
I've seen arguments for & against several times now & remain unmoved.
Cheers,
Roland
More information about the Javascript
mailing list