problem local mode, OCP+w3tc

44 views
Skip to first unread message

Billy

unread,
Dec 9, 2015, 10:39:39 PM12/9/15
to optimus-c...@googlegroups.com
Hi, i am running a woocommerce + w3tc but i cant get the local mode of
Optimus Cache Prime. Iam runing the script in your example (but with my
dir):

./ocp -l /var/www/patrickmylund.com/wp-content/w3tc/pgcache -ls
_index.html /var/www/patrickmylund.com/sitemap.xml

When locking in my wp-content/ directory i dont have "w3tc/" but one
called "cache" and one "w3tc-config". I have tried reinstalling with 777
clearance but i dont creat the map. Is this a w3tc problen or have the
map changed to /wp-content/cache/ ?


-----
cheers
Billy

Patrick Mylund Nielsen

unread,
Dec 9, 2015, 10:42:55 PM12/9/15
to optimus-c...@googlegroups.com
Yeah, I would guess that you probably need to point to either wp-content/cache or wp-content/cache/sitename.com. All that matters is that the folder structure below the folder you point to matches the paths in your URLs, e.g. the cached version of yoursite.com/about/ is wp-content/cache/yoursite.com/about/_index.html.

Do you see folders/files with the names of your pages in that directory? I can change the instructions to match the new folder structure for W3TC.

--
You received this message because you are subscribed to the Google Groups "Optimus Cache Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optimus-cache-p...@googlegroups.com.
To post to this group, send email to optimus-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/optimus-cache-prime.
For more options, visit https://groups.google.com/d/optout.

billy.p...@gmail.com

unread,
Dec 11, 2015, 3:09:46 PM12/11/15
to Optimus Cache Prime
In my "wp-content/cache/" i have
config/
db/
minify/
object/
page/
tmp/
and a "index.html

I guess that the directory of interest is "wp-content/cache/page" but now i dont now since the only thing inside that is a directory with name "000000" and inside that one i have like 250 new directories lik
wp-content/cache/page/000000/0ce
wp-content/cache/page/000000/0e4
wp-content/cache/page/000000/1bd
wp-content/cache/page/000000/2d1
wp-content/cache/page/000000/4d1
and so on....

each directory has only one new and in that one is a .php file


I do not see any pattern in the names and dow now how i could pre-cache my site.

To run the ocp on a sitemap works fine but takes some time (3000+ pages)
Reply all
Reply to author
Forward
0 new messages