Added a method to clear the cache. Example usage:
Route::get('/clear-cache', function () {
Route::clearCache(__FILE__);
});
Route::cache(__FILE__, function () {
// Your cacheable routes here.
});
Added a method to clear the cache. Example usage:
Route::get('/clear-cache', function () {
Route::clearCache(__FILE__);
});
Route::cache(__FILE__, function () {
// Your cacheable routes here.
});