2 slashes - no cache

miweb - April 8, 2009 - 17:59
Project:Boost
Version:5.x-1.0
Component:Caching logic
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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?

#1

mikeytown2 - April 8, 2009 - 19:32

is the cache for those files being generated inside the cache dir?

#2

miweb - April 8, 2009 - 20:58

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

miweb - April 18, 2009 - 08:39

Problem still unsolved. Any hints?

#4

mikeytown2 - April 18, 2009 - 09:17

None at the moment :( I don't have any drupal 5 installations, and this seems like a really odd error.

#5

miweb - May 12, 2009 - 10:03

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

mikeytown2 - May 12, 2009 - 23:29

Tryout this patch, and report if it works for you on that issue.
#174380: Remove symlink creation. Let each path have own file

#7

miweb - May 15, 2009 - 22:00

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

andreiashu - May 16, 2009 - 22:18

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_HERE

Hope that is helps.
Cheers

#9

miweb - May 21, 2009 - 09:18

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

miweb - May 22, 2009 - 17: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!

 
 

Drupal is a registered trademark of Dries Buytaert.