miguel-perez / smoothState.js

Unobtrusive page transitions with jQuery.
MIT License
4.43k stars 508 forks source link

Page caching #365

Open testareas opened 6 years ago

testareas commented 6 years ago

Hello,

New to smoothState.js... I am developing a static site at the moment that has a lot of content that gets added on a daily basis. I found that I often have to refresh all of my pages (F5) to see new content changes.

Obviously since the page is not being refreshed and reloaded every time I click, is there a way I can have smoothState.js not cache my site? Or would that beat the entire point of the script?

Only thing I found was: pageCacheSize: 4, can I set that to pageCacheSize: 0,?

It's just when people visit my site they see old content even if there is new content available.

Thank you.