JosephSilber / page-cache

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

Remove the extension from the filename #118

Open cristianoteles opened 3 months ago

cristianoteles commented 3 months ago

Remove the extension from the filename to route with extension file. Example: Route::get('manifest.json')

cristianoteles commented 3 months ago

1) In the same way as any other request, instead of processing in real time it will take from the generated/cached file 2) Work with whitelabel SaaS solutions, where each domain has a different json file 3) OK, I can arrange

JosephSilber commented 3 months ago

In the same way as any other request, instead of processing in real time it will take from the generated/cached file

How so? The webserver will look for manifest.json.json, which doesn't exist.

Work with whitelabel SaaS solutions, where each domain has a different json file

I don't understand how that pertains to the discussion at hand. How does the stored extension affect that?