Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2008-05-07 08:27:36

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

artagesw wrote:

I could be persuaded to adopt this plugin if the original author no longer wishes to support it and is willing to transfer responsibility for it. I use asy_jpcache in production and am fairly familiar with it.

Please do. That would be awesome.

Offline

#137 2008-05-07 23:54:31

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Does this work with eAcceleator, xcache, lighttpd, Mint? Sorry, its a random list. The first two are opcode cachers and the last keeps statistics on your site.

I assume you’d either use jpcache or an opcode cacher, but not both, right?

Offline

#138 2008-05-08 01:22:27

artagesw
Member
From: Seattle, WA
Registered: 2007-04-29
Posts: 227
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

You can use both – they are complementary. An opcode cache speeds up all the php code you run, whereas jpcache minimizes the amount of php code that needs to run in the first place.

Offline

#139 2008-05-08 05:08:11

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Thanks. I guess my final question is about Mint. Does anyone know if it can still collect stats with jpcache enabled?

Offline

#140 2008-05-08 05:54:30

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Yes it can.

Offline

#141 2008-05-21 13:15:46

Via
New Member
Registered: 2008-05-20
Posts: 6

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Hello guys, I put this include ‘./jpcache/jpcache.php’; before this include $txpcfg[‘txpath’].’/publish.php’; in my index.php and upload it via ftp, right? And instead of my blog I receive white page with sourse like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>My Site</title>

Where is the problem can be? I’m newbie in php.

p.s. after I edited jpcache-config.php and set there $JPCACHE_USE_GZIP to 0 , or maybe just after few refreshes, it randomly shows white page and shows almost whole page of blog and this text in the end:

HTTP/1.1 304 Not Modified Date: Wed, 21 May 2008 13:22:48 GMT Server: Apache/1.3.41 (Unix) PHP/4.4.8 Connection: Keep-Alive Keep-Alive: timeout=10, max=179 ETag: "jpd-1312388567.307" Vary: Cookie

Last edited by Via (2008-05-21 22:19:00)

Offline

#142 2008-05-22 05:10:56

Via
New Member
Registered: 2008-05-20
Posts: 6

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

1. Ok, i reinstalled txp and also updated php to 5x. It work it seems, but how to check if it works? To be sure.

2. Its ok that in “Diagnostics” section:
Some Textpattern files have been modified: /../index.php
clean_url_data_failed: <br />

Offline

#143 2008-05-22 18:41:30

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

> Some Textpattern files have been modified: /../index.php

OK because you had to change the file for asy_jpcache to work.

> clean_url_data_failed: <br />

Never seen this. No idea. Someone else?


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#144 2008-05-24 00:55:18

evilhuman
New Member
Registered: 2008-05-24
Posts: 1

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

> merz1 wrote:
> clean_url_data_failed: <br />
> Never seen this. No idea. Someone else?

Think it’s to do with the Clean URL Testing feature.

“Clean URL test failed means they’re either not currently working or your server doesn’t support the actual test procedure; if your clean urls on your site still actually work, you can ignore this message.”

More here.

Offline

#145 2008-05-24 17:44:01

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

evilhuman Thanks for the link to the FAQ.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#146 2008-09-24 10:14:58

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

This plugin causes to following error to appear at the bottom of the write tab in 4.0.6 after logging in and randomly at certain times.

Notice: Undefined index: view in /home/username/public_html/template/textpattern/lib/txplib_misc.php(574) : eval()'d code on line 27

Offline

#147 2008-09-24 18:17:23

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

FireFusion wrote:

This plugin causes to following error to appear at the bottom of the write tab in 4.0.6 after logging in and randomly at certain times.

I’ve always gotten that error with this plugin. I just ignore it.

Offline

#148 2008-09-30 13:31:45

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

It’s not very attractive to clients :-P

Offline

#149 2008-09-30 17:47:58

artagesw
Member
From: Seattle, WA
Registered: 2007-04-29
Posts: 227
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

It is an easy fix. Edit the plugin code and change line 24 to the following:

&& ((count($_POST)==0) || (isset($_REQUEST['view']) && $_REQUEST['view']!='')) ) return;

Last edited by artagesw (2008-10-02 17:39:14)

Offline

#150 2008-10-02 10:10:01

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

artagesw: Please use Textile bc. or @ wrapping feature to post code snippets. It definitely does make life easier with unchanged single and double qoutes (and maybe other code issues too).

Last edited by merz1 (2008-10-02 10:10:20)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

Board footer

Powered by FluxBB