You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which operating systems have you tested for this bug?
Linux
Which server did you use?
fpm-fcgi
Database
Mysql 5.6
What happened?
First of all, his English is not good.
I have a blog page and I am using pagination.
When I use the $this-cachePage() function on my blog page, it shows the 1st page that is cached when switching between pages, so it doesn't switch to other pages. How can I solve this?
Cache page will cache the entire page and doesn't work well with dynamic pages like that. It doesn't currently take Query vars into account.
I would do the caching within the controller just so that it doesn't have to hit the database at all. Then make sure you clear the cache whenever you publish a new blog post.
Cache page will cache the entire page and doesn't work well with dynamic pages like that. It doesn't currently take Query vars into account.
I would do the caching within the controller just so that it doesn't have to hit the database at all. Then make sure you clear the cache whenever you publish a new blog post.
PHP Version
8.0
CodeIgniter4 Version
4.2.6
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
fpm-fcgi
Database
Mysql 5.6
What happened?
First of all, his English is not good.
I have a blog page and I am using pagination.
When I use the
$this-cachePage()
function on my blog page, it shows the 1st page that is cached when switching between pages, so it doesn't switch to other pages. How can I solve this?Steps to Reproduce
Expected Output
on which page it should be cached
Anything else?
No response
The text was updated successfully, but these errors were encountered: