mirror of https://gitlab.com/bashrc2/epicyon
css is processed earlier
parent
56a493d91a
commit
7a12897510
18
daemon.py
18
daemon.py
|
@ -8955,6 +8955,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
||||||
'create session', 'hasAccept')
|
'create session', 'hasAccept')
|
||||||
|
|
||||||
|
# get css
|
||||||
|
# Note that this comes before the busy flag to avoid conflicts
|
||||||
|
if self.path.endswith('.css'):
|
||||||
|
if self._getStyleSheet(callingDomain, self.path,
|
||||||
|
GETstartTime, GETtimings):
|
||||||
|
return
|
||||||
|
|
||||||
# get fonts
|
# get fonts
|
||||||
if '/fonts/' in self.path:
|
if '/fonts/' in self.path:
|
||||||
self._getFonts(callingDomain, self.path,
|
self._getFonts(callingDomain, self.path,
|
||||||
|
@ -9316,17 +9323,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'robots txt',
|
'robots txt',
|
||||||
'show login screen done')
|
'show login screen done')
|
||||||
|
|
||||||
# get css
|
|
||||||
# Note that this comes before the busy flag to avoid conflicts
|
|
||||||
if self.path.endswith('.css'):
|
|
||||||
if self._getStyleSheet(callingDomain, self.path,
|
|
||||||
GETstartTime, GETtimings):
|
|
||||||
return
|
|
||||||
|
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
|
||||||
'show login screen done',
|
|
||||||
'profile.css done')
|
|
||||||
|
|
||||||
# manifest images used to create a home screen icon
|
# manifest images used to create a home screen icon
|
||||||
# when selecting "add to home screen" in browsers
|
# when selecting "add to home screen" in browsers
|
||||||
# which support progressive web apps
|
# which support progressive web apps
|
||||||
|
|
Loading…
Reference in New Issue