Posted by miweb on April 8, 2009 at 5:59pm
Jump to:
| Project: | Boost |
| Version: | 5.x-1.0 |
| Component: | Caching logic |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I've given my site a push like a rocket with boost. Great module. But one thing is not working for me. Boost only caches URLs on the base-level. It caches sides like http://www.mysite.com/side1 but not sides with 2 slashes like http://www.mysite.com/dir1/side2.
I've just tried the api-patch from http://drupal.org/node/311196 but it doesn't work for my site. Any hints for a non-programmer and beginner what to do?
Comments
#1
is the cache for those files being generated inside the cache dir?
#2
If the content is a view it will be cached and is in the dir.
If the content is a node it won't be cached nor is it in the dir.
#3
Problem still unsolved. Any hints?
#4
None at the moment :( I don't have any drupal 5 installations, and this seems like a really odd error.
#5
Oh, I made a mistake. I have'nt seen all the nodes in virtuell subdirectories are saved as node with numbers: f.e. node/1044
So, I use the path module to rename the nodes. If a user types www.website.com/directory/sideA a node is cached as node/123, not as SideA.html. If another user types this adress the cached node is not displayed because boost doesn't cache the alias or can't call the alias path to display the cached version.
Is there a solvation for this?
#6
Tryout this patch, and report if it works for you on that issue.
#174380: Remove symlink creation. Let each path have own file
#7
Thank you very much.
I've tried to run the patch by WinSCP but it's not patching. Command not found on line1. I can't figure out, where I'm wrong. Yes, I'm a patchbeginner, I never have done yet.
#8
Hi miweb,
I think WinSCP should have an "Open Terminal" option, right ? You should have the patch uploaded to the root of the boost directory (eg: sites/all/modules/boost/YOUR_PATCH_HERE). cd into that directory and then type:
patch -p0<YOUR_PATCH_HEREHope that is helps.
Cheers
#9
It doesn't work :-((
scp says:
patch: command not found
run: command not found
and so on
If I try to execute the file itself there is a message like this (note: I#ve renamed the patchfile to get a shorter name after missing the command-executes listed above):
Befehl '"./boostd5.patch"'
fehlgeschlagen mit Beendigungscode 2 und Fehlernachricht
./boostd5.patch: line 1: Index:: command not found
./boostd5.patch: line 2: ===================================================================: command not found
./boostd5.patch: line 3: syntax error near unexpected token `('
./boostd5.patch: line 3: `--- boost/boost.helpers.inc (revision 2221)'.
#10
I still don't know how to patch a file by Win SCP. But I've asked a guy for help and he got it. So boost rocks the subdirectiories now and I'm very happy!
Thank you for helping me with your hints!
#11
issue appears to be fixed with the symlink patch for 5.x