Welcome Guest, Not a member yet? Register   Sign In
Page Editing
#1

Hello Everyone


I have been using Codeigniter for a while; but I have encountered a certain problem.
When editing my project, changes takes time to take place; I have tried to stop cache and clearing page caches without any success; this highly frustrate me. Someone help me please

Tank you Sad Sad Sad Sad
Reply
#2

If you are running a newer version of PHP and have the opcode cache turned on, it seems to keep the opcodes cached for about a minute. Turn off opcode caching in your local environment and that should go back to normal.
Reply
#3

Hi Kilishan;

Thank you very-much for your response; my application is hosted in shared hosting; is there ability to turn off opcode cache?

Thanks
Reply
#4

Depends on your provider, but probably not. I believe it typically requires some settings in the php.ini file, which is something shared hosting typically doesn't give access to modify for security reasons.

I would suggest developing on a local machine, though, and only uploading to shared hosting afterword, when you're sure things are how you want them. Much better in the long run.
Reply
#5

Thank you for your helpful suggestions;
Reply
#6

Thank you again Kilishan;

I thanks GOD I have got a solution; in my hosting there was a Varnish cache turned on; the solution was to turn it off for my respective domain containing my codeigniter web application.

enjoy;
Reply
#7

(02-01-2016, 04:19 AM)[email protected] Wrote: Thank you again Kilishan;

I thanks GOD I have got a solution; in my hosting there was a Varnish cache turned on; the solution was to turn it off for my respective domain containing my codeigniter web application.

enjoy;

Glad you found a solution. I didn't even think to mention Varnish, though I should have. I guess I associate that with larger, high-capacity apps, and mentally skip over the idea that they are used by lots of hosting providers.
Reply
#8

If the provider has activated APC (on older PHP), see this article: https://kaspars.net/blog/web-development...-apc-cache
Reply




Theme © iAndrew 2016 - Forum software by © MyBB