miguel-perez/smoothState.js

Add caching tests

Open

#186 ouverte le 13 juin 2015

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)CSS (515 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (4 433 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur