JosephSilber / page-cache

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

How to setup Cache on Cpanel? #94

Open hmzisb opened 2 years ago

hmzisb commented 2 years ago

Can you help me with setting up page cache in Cpanel? Cpanel serves content from public_html by default so I am using this code to redirect all the requests to the public folder. The public_html contains all laravel content including Public folder. I can't make the cache work. I added the code to both public and main folder htaccess.

Current htacess code I am using to redirect all requests ` RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]

`