JosephSilber / page-cache

Caches responses as static files on disk for lightning fast page loads.
MIT License
1.21k stars 118 forks source link

Update Cache.php #21

Closed ctf0 closed 6 years ago

ctf0 commented 6 years ago

use the original methods instead of recreating new ones

JosephSilber commented 6 years ago

If you don't want to cache AJAX or PJAX calls, you should extend the middleware in your own app, and overwrite the shouldCache method. That's what it's there for.