localhost friendly Firefox


Ever wonder how to tell Firefox to not cache some address ? i.e. your localhost:$DEV_PORT or some https://your-development-server ? Just tell it to ignore that address.

“If you’re reading this, this image is showing Firefox preference screen to disable caching for any port on localhost address”

This solution is so f-in simple.
Please note in that image I disable caching for localhost but not for localhost:4040. So we can use that port to check something that need browser localstorage or cookie to function properly i.e. service-worker.
Also Firefox treat localhost and localhost:4000 as different address. That mean explicit address only. Apache or nginx by default able to listen request on localhost. Your setup maybe different.
For Jekyll by default you can add localhost:4000.

Post Lainnya

Mengenal Jekyll

Beberapa minggu belakangan, terhitung sejak awal masa liburan, gue main-main sama Jekyll dan SASS. Jekyll pada dasarnya bukan blogging platform, bukan juga CMS, tetapi static site generator. Fungsinya simple, mengubah apapun yang ada dan dia bisa, jadi sebuah HTML. Simple banget memang, kalo bikin HTML siapapun yang paham apa dasar HTML juga bisa.

Maaf, IE

Referensi:

Android 6.0 Marshmallow

Android 6.0 Marshmallow kemungkinan rilis di tahun ini. Mari kita bongkar apa saja yang baru.

Komentar

Komentar akan tampil setelah diterima.