help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
[info] "Document Expired" + Joomla + Backbutton
[info] "Document Expired" + Joomla + Backbutton
10 years 11 months ago - 10 years 11 months ago
At the moment the problem is not there, but just wanted to mention this as it can be a pesky one.
The error can happen when
has been used in the main controller.
when it's set to false it's not a problem as it won't store the page in the cache.
The problem can be seen when:
- making menu-link to archived articles
- sort + click link + hit backbutton of your browser
Sorting is using GET instead of POST and perhaps it has to with that + also the expiring date (1970) is not good.
so yep you can:
- disable caching, setting to false (main controller)
- change the expire headers when you want to use cache
- or use a back button (image)
when using the backbutton you can make use of
and a thing to keep in mind is that a direct link won't output something. so yep when there is something then output the image and when not then don't display it.
The error can happen when
Code:
"$cachable = true;"
when it's set to false it's not a problem as it won't store the page in the cache.
The problem can be seen when:
- making menu-link to archived articles
- sort + click link + hit backbutton of your browser
Sorting is using GET instead of POST and perhaps it has to with that + also the expiring date (1970) is not good.
so yep you can:
- disable caching, setting to false (main controller)
- change the expire headers when you want to use cache
- or use a back button (image)
when using the backbutton you can make use of
Code:
HTTP_REFERER
Last edit: 10 years 11 months ago by Bluefox.
Please Log in or Create an account to join the conversation.
Re: [info] "Document Expired" + Joomla + Backbutton
10 years 11 months ago - 10 years 11 months ago
was a bit to optimistic about this one..
Did notice that the problem still occurs and probably the only thing to adjust it correctly is to set the expire headers. (Did had a plugin installed that did adjusted it)
so yep wil it ad it to the to-do/find-out list for the next months.
//
maybe good to say: am using J3 at the moment so didn't try if it was the case with J2.5+ too.
Edit:
Am using this add-on for now, it will/can adjust the header (Jresponse):
extensions.joomla.org/extensions/site-management/browsers-a-web-standards/12785
and to take a lok at the cache in firefox, type in:
Did notice that the problem still occurs and probably the only thing to adjust it correctly is to set the expire headers. (Did had a plugin installed that did adjusted it)
so yep wil it ad it to the to-do/find-out list for the next months.
//
maybe good to say: am using J3 at the moment so didn't try if it was the case with J2.5+ too.
Edit:
Am using this add-on for now, it will/can adjust the header (Jresponse):
extensions.joomla.org/extensions/site-management/browsers-a-web-standards/12785
and to take a lok at the cache in firefox, type in:
Code:
about:cache
Last edit: 10 years 11 months ago by Bluefox.
Please Log in or Create an account to join the conversation.
Time to create page: 0.763 seconds