igor-alexandrov / wiselinks

If Turbolinks are not enough for you. Wiselinks makes your application work faster.
MIT License
726 stars 93 forks source link

Can't use http cache with wiselink request #106

Open VarunBatraIT opened 8 years ago

VarunBatraIT commented 8 years ago

I was playing around cache in http://varunbatra.com/

What I have observed is, you can't have a cache if it is a wiselink request.

I have looked into the codes:

https://github.com/igor-alexandrov/wiselinks/blob/19b88b10dc4e669003326dea9786ddc37052039d/lib/wiselinks/rendering.rb#L14

Do we want this code here? Shouldn't there is an option to disable this setting of header?