3

What can I do to redeclare Contoroller function renderView function (without hardcoding)?

How can I lookup twig cache (I think it's should be lookup function in HttpCache class , but it's says Fatal error: Call to a member function isNotModified() when I try redefine it ), and write it into memcache?

Are there native memcache settings working with twig in Symfony2?

1 Answer 1

1

isNotModified is a method on HttpFoundation\Response that takes a HttpFoundation\Request object and checks the lastModified and ETags on a Request. You should not use HttpCache directly but look at Response and Request classes to see their API. Also there is a Symfony dokumentation click here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.