boldenamsterdam / htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3
MIT License
31 stars 21 forks source link

changed cache identifier from param to internal uri #27

Open thisisablock opened 4 years ago

thisisablock commented 4 years ago

On newer Craft CMS Version you cant rely und the »p« parameter in the request. The provided .htaccess is still using that, but its dependent on apache.

For example: On this often used nginx configuration the »p« parameter will not be used. https://github.com/nystudio107/nginx-craft/blob/master/sites-available/somedomain.com.conf

In my fix i changed the uri recognition