Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#181 2011-07-16 11:40:40

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Wouldn’t it be easy in the meantime to compile the 3 or 4 small changes to Sencer’s original plugin into a new archive and have it ready for people to download somewhere? I had to work myself thru 18 pages of bug discussion etc to be able to install this flawlessly on txp 4.4.1 and it would be easy to spare future users from this, really. I can put it up someplace, if no one else wants to. Just shoot.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#182 2011-07-16 14:24:21

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

jayrope wrote:

Wouldn’t it be easy in the meantime to compile the 3 or 4 small changes to Sencer’s original plugin into a new archive and have it ready for people to download somewhere? I had to work myself thru 18 pages of bug discussion etc to be able to install this flawlessly on txp 4.4.1 and it would be easy to spare future users from this, really. I can put it up someplace, if no one else wants to. Just shoot.

I thought I’d already done that here. Is there something I missed jayrope?


Steve

Offline

#183 2011-07-16 15:52:42

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

net-carver wrote:

I thought I’d already done that here. Is there something I missed jayrope?

AWESOME, Steve.

Last edited by jayrope (2011-07-16 15:52:59)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#184 2011-10-22 09:27:59

chad
Member
Registered: 2006-08-06
Posts: 12

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

@net-carver Thanks for the repo. I just installed it onto my TXP 4.4.1 install and it seems to be working fine.

One small thing I noticed is that the directions say to place a line in index.php before:
include $txpcfg['txpath'].'/publish.php';
The line is now:
include txpath.'/publish.php';

Last edited by chad (2011-10-22 09:28:32)

Offline

#185 2012-06-04 16:03:57

mjut
Member
Registered: 2009-07-16
Posts: 32
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

I am using asy_jpcache successfully on various txp installations.
This time, I need to exclude a specific path from being cached. (its the root-path of my domain)
Is there a way to do that?

Offline

#186 2012-06-04 18:12:09

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

FYI: Textpattern 4.5 will remove the need to modify a core file.

Offline

#187 2012-06-04 19:13:40

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

johnstephens wrote:

My only issue with asy_jpcache is that it requires a hack to TXP’s core. I’m curious what would be needed from the core to support caching without the hack.

r3804!

Not sure how it will work, but it looks like I’ll be deploying this plugin on a whole lot more sites when Textpattern 4.5 is ready to go! Thank you, Robert!

Edit: Oops! Looks like Robert already posted.

Last edited by johnstephens (2012-06-04 19:14:39)

Offline

#188 2012-06-04 19:28:05

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

johnstephens wrote:

Not sure how it will work, but it looks like I’ll be deploying this plugin on a whole lot more sites when Textpattern 4.5 is ready to go! Thank you, Robert!

The change introduces config option named pre_publish_script, which sets an absolute file system path to a PHP file that acts as page pre-processor. This PHP file is then ran on the public side before pretty much anything else (i.e. before a page template is processed or a db connection is opened).

For end-user to use it, they would but following type of line to their config.php file:

$txpcfg['pre_publish_script'] = '/absolute/path/to/preprocessor.php';

Last edited by Gocom (2012-06-04 19:37:22)

Offline

#189 2012-06-04 19:37:28

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

Thanks, Jukka! That makes sense. I thought there would be a preference field for it, but this method keeps it out of the way of those who won’t use it.

Offline

#190 2012-06-04 20:00:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

johnstephens wrote:

Thanks, Jukka! That makes sense. I thought there would be a preference field for it, but this method keeps it out of the way of those who won’t use it.

Thing is, preferences are stored in the database. This set file is loaded before database connections are formed or anything is else processed, and that’s the whole point of it.

Offline

#191 2012-06-11 12:02:43

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

To save reading through an entire thread, where is the latest version of this that works with 4.4.1? :¬)

Last edited by rossharvey (2012-06-11 12:02:53)

Offline

#192 2012-06-11 12:18:22

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: asy_jpcache 0.9.8 - Fast Full Page Caching

There’s a download link for the working version in the first post.

Offline

Board footer

Powered by FluxBB