rinse and then the heavy duty approach
Rinse its the first line of defense. Rinse as soon as you are no longer keeping the chem in the bottle.
I second the amber Boston rounds recommendation for developers.
Some packaged kitchen sauces - like Dianna sauce- a BBQ sauce in Canada - is sold in a 500mL clear glass bottle with a narrow top, and a nice well fitting lid. I use them for weird solutions, like intensifiers and clearing baths, HCA concentrate, etc., as well as for different stock solutions, like for bromide and carbonate for tweaking the action of paper developers.
Yeast bottles for the bread machine or home baker are wide mouth amber glass, with a gasketted sealed metal lid, and work perfectly for storing exactly the amount of developer used for a single reel when using stainless steel reels.
I use cheaper bottles for fixer - actually usually green 2L 'sprite' bottles with their original label removed, since when a fixer gets old and sulfates out it is not worth it in my eyes trying to clean the bottle.
I use color coded PVC electrical tape in various colours from a dollar store to label the bottles. It does not come off if the bottles are immersed in a water bath.
I write on the tape with a sharpie marker- again - water proof. I record: Name of chemistry, reference to formula location if I have mixed from scratch, and I keep a running tally of how many times I have used the solution, if I reuse the solution.
From this habit I have learned, for instance, that E6 bleach, used for e-6 or c-41 is good for about 25 rolls per L before its action begins to slow. Similarly, c41 fixer is good for about 15 rolls before it starts to take too long to clear.
I keep bottles and lids that have held a solution labeled as so (white bits of tape) bleach (yellow tape) fix (blue tape) stop bath (red tape) and stabilizer (green tape), and try not to mix them up the next time I use them.
Sometimes a rinse does not clean the bottle, and kitchen or laundry cleaners will not clean then either. Bottles that have held C41 bleach is one example.
In these cases I get out the lab coat, rubber gloves and goggles, and then get concentrated sulphuric acid out. 800ml or hot water, 10mL of sulphuric, added slowly with stirring, then poured into the stained bottle. Gentle shaking with the bottle cap held on loosely gets rid of stains around the bottle cap as well. Rinse well with plenty of water after this treatment.