JosephSilber / page-cache

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

Is possible to not cache authenticated users? #106

Closed lfbn closed 1 year ago

JosephSilber commented 1 year ago

Short answer: no.

The static files are served before Laravel runs. In fact, it doesn't even hit PHP at all.

If you need to customize a page for authenticated users then you should either:

Page cache, by definition, cannot handle this.