News for hackers. Stuff that matters.
Re:I made a simple geolocation service by mkoryak on Friday July 24, 2020 @11:16AM (#23940477)
Have you considered not including the entire bootstrap.css on the front page since you only use about 1% of it :)
Re:I made a simple geolocation service by georgyo on Friday July 24, 2020 @11:49AM (#23940906)
I almost never do frontend work. I'll gladly take a PR if you want to make that one page faster and prettier. Though I don't want to make the build require yarn or other js/css compiler framework for a single page.
Re:I made a simple geolocation service by mkoryak on Friday July 24, 2020 @12:52PM (#23941715)
if you give me a github repo, ill see what I can do
Re:I made a simple geolocation service by georgyo on Friday July 24, 2020 @12:55PM (#23941752)
Re:I made a simple geolocation service by hazelnut on Friday July 24, 2020 @11:23AM (#23940576)
I would assume the majority (99.9%) of the requests is actually API calls without delivering CSS.
Re:I made a simple geolocation service by georgyo on Friday July 24, 2020 @11:55AM (#23940989)
Indeed. Only ~30k page views that trigger the google analytic script, so 99.9991% of requests have no html at all.