Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-03-29 09:12:06

lumin161
Member
From: Czech Republic
Registered: 2012-03-29
Posts: 10

Problem with Cache

Hi,
I have <txp:php>include ‘some.php’;</txp:php>
It is OK, if i open it in a new tab. But if i would show it in “include”
the cache caused, there are old information.
I think this is TXP problem. How to fix it?

Offline

#2 2012-03-29 09:28:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,022
Website GitHub Mastodon Twitter

Re: Problem with Cache

Hi lumin161, did you check the FAQ?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-03-29 09:44:19

lumin161
Member
From: Czech Republic
Registered: 2012-03-29
Posts: 10

Re: Problem with Cache

Yes, really.
Maybe i’m blind. :)

Offline

#4 2012-03-29 11:37:39

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,305

Re: Problem with Cache

I think this one would apply, although it’s really not obvious if you’re searching for one of your keywords.

In order to spread some more redundant text ;) and as it’s really not easy to find the applicable pearls amidst the potato peelings there, especially when one’s already annoyed, here’s what you need should you encounter similar problems:

FAQ 239:

Textpattern’s caching feature is only enabled in Live mode, so temporarily set your production status preference to Testing to disable it, and see if the problem still occurs. If that stops the problem, […] you’ll need to turn off caching to fix it (go to Admin > Preferences > Advanced, and set Send “Last-Modified” header? to No). You can switch production status back to Live once you’ve done this.

Last edited by uli (2012-03-29 13:01:08)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2012-03-29 11:45:01

lumin161
Member
From: Czech Republic
Registered: 2012-03-29
Posts: 10

Re: Problem with Cache

uli: Oh dear… It really works! Thanks a lot.
Danke schön. :)

Offline

#6 2012-03-29 11:52:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,305

Re: Problem with Cache

Bitte schön :) lumin161. Glad it worked.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB