Jump to content

Modifying templates - having to clear cache


datawebcorp

Recommended Posts

I am making heavy mods to my client and order templates. For each mod I make, no matter how minor, I have to clear the templates_c (cache) folder before I see the changes.

 

Is there a way to disable cache temporarily during the modification process so I can skip the step of having to clear the cache constantly?

Link to comment
Share on other sites

  • 3 months later...
  • 9 months later...

Why not devnull the templates_c directory with a symlink.

 

% rm -rf templates_c

% ln -s /dev/null templates_c

 

If the compiled templates aren't found then the page is generated again.

 

Haven't tried it just thought it may be an option.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated