home ~ projects ~ socials

Domain Specific CSS Stylesheet Storage (Proposal)

  • basic idea is to allow for setting CSS styles in a browser storage at a domain level
  • when a page on the domain is loaded the styles would be available immediately without having to load any other stylesheet
  • The main idea is to do things like always have a default background color available on a page to help cut down on flashes of the page before styles are applied.
  • Could also potentially store fonts so the fonts would always be available after the first visit (i.e. they wouldn't get dropped from the cache)

Notes

  • to do is experiment with a script tag to do this as the first thing that loads
  • could also store scripts the same way
-- end of line --