Wordpress cache issue
March 30th, 2006 by
zingle
When I’m posting an article, I usually have trouble to finish it at the first trial.
So I edit something, and always finds that I made another mistake or I have to edit one thing more.
Whenever I tried to edit for the second time,
on my edit screen, I always had the old article, not the one that I just edited.
(say, I added a certain sentence at the first edit, but the edit screen doesn’t show that sentence.)
I had the same problem this morning and tried to fix it.
First, I had to delete cached pages at the cache folder, and
found that I can turn off this cache thing by adding
define('DISABLE_CACHE', true);
to wp-config.php
and it works. (I just checked.
)
Posted in Blog | Tagged as Wordpress Tips |
헉 우리나라 분이시네요.
글만 보고 외국 유저인 줄 알았어요.
저도 같은 문제가 있어서 cache를 disable 해 놓고 사용하는 중인데요, 도대체 왜 에디터에서 이런 문제가 발생하는 거죠? 좀 더 근본적으로 cache가 정상적으로 동작하는 것이 아닌데 그 이유를 모르겠어요.. 혹시 지금 아신다면 좀 알려주세요.. ㅜㅜ cache를 사용하는 편이 DB load에 더 좋아서 쓰고는 싶은데 이 문제 때문에요..
편집을 하게 되면(페이지를 새로 저장하게 되면) 이 페이지의 cache가 있는지 확인하고 있으면 지우고 새로 만들어줘야 할텐데 (그리고 아마 있을 텐데) 그 부분에 문제가 있는 것 같습니다. (
관련 함수를 찾아내고 save할 때에 호출을 안하는건지
한다면 왜 안되는지를 찾아내는 방법으로 접근하면 해결이 가능할 것 같은데요.
이런건 상당히 쉽고, 증상이 쉽게 보이는 건데
아직까지 수정이 안되고 있는 점이 좀 이상하긴 하네요.
시간이 나는대로 한번 확인해보고 해결하게되면
연락드리겠습니다. ^^