Active
Project:
Boost
Version:
6.x-1.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2010 at 18:43 UTC
Updated:
24 Dec 2010 at 18:43 UTC
Hi,
I work for a university and we have a section of our website named "/administration" using boost the pages under that url never get cached.
Changing line 1508 of boost.module from:|| preg_match('!^admin!', $normal_path) to || preg_match('!^admin/!', $normal_path)
solves this problem.
Also changing the .htaccess rules to include the slash after admin helps as well:
RewriteCond %{REQUEST_URI} (^/(admin/|cache|misc|modules|sites|system|openid|themes|node/add))|(/(comment/reply|edit|user|user/(login|password|register))$) [OR]
I have no idea if this change breaks anything else...
Thanks,
Ken Colwell