Closed (duplicate)
Project:
Boost
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2009 at 21:07 UTC
Updated:
29 Nov 2009 at 09:48 UTC
Hi.
I'm using Drupal-5 with Boost and Paging (break long pages into smaller ones) modules. When I access "http://www.my-site.com/some-node-alias" Boost create statiс page in cache directory. But when I try to access a second page of a node "http://www.my-site.com/some-node-alias?page=0,1" static page won't created. Is it possible to cache with Boost not only first page of a node?
Thanks.
Comments
Comment #1
EvanDonovan commentedI think from reading the documentation that the problem here is that there's a query string in the URL of your second page. Boost's .htaccess logic is set up not to cache pages that have a query string in the URL, since that is generally an indication that they need to be dynamically generated.
I don't know if there's a way to work around that.
Comment #2
dicreat commentedEvanDonovan, thanks.
Comment #3
EvanDonovan commentedActually, if you look in the issue queue a little farther, I think there's an issue in here about making Boost cache pages with query strings in the URLs. Sorry, I don't remember what it is right now.
Comment #4
dicreat commentedIssue Cache pages with query strings
At this time patch for D6 only :(
Comment #5
EvanDonovan commentedFrom just a quick look at that patch, I didn't see anything that relied on D6-specific functionality. It's basically just setting variables, doing regular expression matching, and doing a slightly different pattern in the .htaccess file. I would suggest you try it out anyway & see if it works.
Comment #6
mikeytown2 commentedThis issue allows caching of url query strings, which should solve this issue.
#182687: Cache pages with query strings