miguel-perez/smoothState.js

Add caching tests

Open

#186 aberto em 13 de jun. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)CSS (515 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (4.433 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador