Giter VIP home page Giter VIP logo

faster-thenewslens's Introduction

跑比較快的,關鍵評論網

覺得關鍵評論網太肥厚,跑很慢嗎?來試試看! http://www.thenewslens.xyz

本專案公開原始碼,任何人都可以修改與複製。

Why

最近發現關鍵評論網的內容不錯,很喜歡他們的內容。但是載入的速度實在慢到讓人受不了,於是打開網頁開發工具檢查了一下。發現裡面的圖片都是直接從圖床要原圖下來的版本。

其實圖床本身就有提供壓縮的參數,只是不知道開發人員為什麼沒注意到。於是製作了這個 APP 可以讓使用者下載壓縮過的圖片,節省大家的網路費用,又同時可以欣賞到優質的內容。

Compare

http://www.thenewslens.com/post/82643/

14.8M transfered, window onload in 33.67s, finished in 4.9min

Imgur

http://www.thenewslens.xyz/post/82643/

5.2M transfered, window onload in 9.3s, finished in 1.9min

Imgur

Contribute

git clone https://github.com/zackexplosion/the-faster-thenewslens.git

Then

PORT=8888 go run app.go

How it works?

http://zackexplosion.com/p/d73d

Read more

faster-thenewslens's People

Contributors

zackexplosion avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.