miguel-perez/smoothState.js

Add caching tests

Open

#186 aperta il 13 giu 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)CSS (515 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (4433 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

We should add the following tests:

  • never prefetch or cache form submissions
  • POST never times out
  • bad prefetches dont reload the page
  • setting cacheLength to 0 disables caching
  • prefetches on defined events
  • allows you to set the cache

See tests/testCaching.js.

Guida contributor